MINGW-issue17148: nt thread model detection