[boost] Boost.Threads MinGW compiler warning patches