Win64: fix DLL loading for multi threaded applications

This patch adjusts system internal structures like _SYSTEM_PROCESS_INFORMATION to Win64 pointer sizes.
In addition, getTEB now uses GS instead of FS for Win64.