Port the Windows atomic implementation to use QGenericAtomicOps