[reland][libc] Make BigInt bit_cast-able to compatible types (#74862)