crt: exe: Enable per-thread locale if user asked for it

There is missing call _configthreadlocale(-1) in pre_c_init function.
Startup code from Visual C++ runtime is doing same thing.

This applies only for msvcr80+ and UCRT builds. For older msvcrt versions
there is only empty wrapper.

Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c
index 4bc8a92..6da7e23 100644
--- a/mingw-w64-crt/crt/crtexe.c
+++ b/mingw-w64-crt/crt/crtexe.c
@@ -112,6 +112,7 @@
 
   if (__globallocalestatus == -1)
     {
+      _configthreadlocale(-1);
     }
   return 0;
 }