[MERGE #3489 @obastemur] Convert internal static initializer (thread safe) to global
[MERGE #3489 @obastemur] Convert internal static initializer (thread safe) to global

Merge pull request #3489 from obastemur:fix_br_tls

MSVC uses TLS for internal thread safe static initializers. Use static class constructor. Fixes build break with Full.

Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore