ws2_32: Use Win32 APIs for interlocked functions.