fix convert(Int64,::BigFloat) bug on 32-bit systems (closes #8318)
fix rationalize test failure on 32-bit systems
Merge pull request #8321 from JuliaLang/mn/8318

fix a couple of 32-bit bugs