Move more common bithandling code into I/I32/I64 modules.