Fix Win32 call in IsUserProtected. Usage was incorrect and freeing the wrong parameter causing a memory corruption.
[aot] Fix running with a loadable llvm module in aot-cache mode.
[jit] Fix LLVM support on amd64 which got broken by the epilog size changes.
[bcl] Fix the RenameTpThread test, renaming a tp thread should not fail.
Merge pull request #1301 from Unity-Technologies/fix-isuserprotected

Fix Win32 call in IsUserProtected. Usage was incorrect and freeing the w...
[xlinq] fix bug #23318 - XComment.ToString() accepts "invalid" values.

Before it passes the value to XmlWriter.WriteComment(), it replaces
invalid values to valid form.
Move llvm_init_inner inside #ifdef ENABLE_LLVM

This should fix c30a3e46d2f94682b4ec1cac42b7c7ddb0a39059 failing to link properly with ld 2.22 and GCC 4.9.1, on Linux, with non-LLVM builds.

./.libs/libmini.a(libmini_la-mini.o): In function `llvm_init_inner':
mini.c:(.text+0x1182b): undefined reference to `mono_llvm_init'
/usr/bin/ld: .libs/libmonoboehm-2.0.so.1.0.0: hidden symbol `mono_llvm_init' isn't defined
/usr/bin/ld: final link failed: Bad value
[mcs] More tweaks to conditional tokenizer. Fixes #23319
UriParserTest.GetComponents_Ftp2 now uses the variable 'ftp2'.