[GHC] #9932: GHC fails to build when cross compiling for mingw with the message "Threads not supported"