Define WSAPOLLFD only on mingw 4.x

Fixes #10327