[boost] [thread] Fix compilation with GCC-MinGW64 for 1.47.0?