Fix an arithmetic overflow on 32-bit
Fix an arithmetic overflow on 32-bit

The current test suite fails on 32-bit targets due to an arithmetic overflow,
but it was pretty easy to avoid!

NikVolf/parity-wasm,NikVolf/parity-wasm