The assumption in the commit 188ca75e5fe4837d16241446558c7566912f67b2 about the broken thread_local
implementation in GCC was misguided because the initial failure was not due to GCC, but a bug in the Wine
runtime, as evidenced, for example, here:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917307
- https://bugs.freedesktop.org/show_bug.cgi?id=108662
Consequently, it is safe to re-enable thread_local
support for MinGW-w64 builds.
Fixes one item from #29952.