Turn some of integer operations into 32bit ones, convert stuff to 32bit when converting to an integer.

Skip t/serialization/01-basic.t as we don't support 64bit integers.