Improve conversions from BigInt
to Int::Primitive
#13562
Merged
BigInt
to Int::Primitive
#13562