Fixed  g_win32_getlocale

Implemented g_win32_getlocale function to return correct locale.
[corlib] Update current LogicalCallContext from empty context
[corlib] Disable a test which causes a wapi_unref_full () warning.
Adjust type of mono_win_vectored_exception_handle to match its use.

This commit licensed as MIT/X11.
Mark some functions as static.

This commit licensed as MIT/X11.
Move a variable declaration to the start of a block.

This commit licensed as MIT/X11.
Fix MonoW32ExceptionHandler type on win64.

This commit licensed as MIT/X11.
Merge pull request #831 from madewokherd/win64-warnings

fix various warnings in win64 exception code
[jit] Implement the delegate ctor optimization in AOT mode too.
Header names should be compared binary but not linguistic.
Moreover according to RFC2616 header names are subset of ASCII chars [0-127],
so culture-aware comparison is useless and eats too many processor time
(according to my benchmarks get an item from Hashtable with OrdinalIgnoreCase
comparers more than 20x times faster compared to Hashtable with InvariantCultureIgnoreCase
comparer)
[mcs] Update populated member cache of dynamic containers manually for additional entries. Fixes #16659
[sgen] Only enqueue LOS objects if they contain references.
[sgen] Reverse the free-list after sweeping to be in address-order.
[sgen] Our bzero()/memmove() must store “volatile”, lest LLVM screw us.
[sgen] Explain a FIXME.
[jit] Disable the optimized lmf push/pop code even if the arch specific code enables if it is not supported.
[jit] Use mini_type_get_underlying type in a few missing places int the amd64 port.
[jit] Use mini_type_get_underlying type in a few missing places in the x86 port.
[jit] Use mini_type_get_underlying in a few missing places in the jit.
[jit] Use mini_type_get_underlying in a few missing places in the jit.