value: Fix regression converting Number to 64-bit int
Since accepting BigInt for introspected 64-bit values, handling non-integer Numbers regressed, because non-integers cannot be passed to JS::NumberToBigInt.
Truncate all non-integer Numbers to integers before converting them to 64-bit int, as JS::ToInt64/JS::ToUint64 would.
Closes: #459 (closed)