w32threads: Don't use function pointers when linking directly to newer APIs