[bcl] Handle BigInt -> long conversions that should overflow but dont. Fixes #16526