[PATCH v4 8/8] ws2_32: Add atomic lock support.