threads.c: don't use group affinity API if _WIN32_WINNT < 0x0601

Signed-off-by: Steven Noonan <steven@uplinklabs.net>