[runtime] Fix a win32 build failure, more remains.
[runtime] Use pthread tls on mingw32, recent versions support __thread, but its emulated.
[runtime] Fix some win32 warnings.
[jit] Implement support for tls offsets >= 64 on win32.