x64Emitter: refactor to support longer opcodes

Also add some new SSE4 opcodes.

(This is the first commit of another branch I have a PR for, but I'd kinda like to get this in separately, since there's other stuff I want to try to do involving SSE4 opcodes.)