Guard the __sync_* atomic helper with __ARM__

I didn't notice I was adding to a generic file.