x64Emitter: optimize immediate sizes

A nice alternative than trying to do it throughout the JIT.