Win32 jit fixes

Misc fixes to get the JIT working again on win32.

The changes to Source/Core/Common/x64ABI.cpp were taken from shuffle2's ugly-hacks branch, but I think they're both suitable for master.