JIT: some more integer optimizations

This isn't that heavily tested so it could probably use a JMC pass or two and a sanity check by some other eyes
SafeWriteRegToReg takes an int32_t offset, but the offset here is a uint32_t, so it literally doesnt fit in the function's accepted range.