Fix atomic ops on iOS

Patch from John Ralls.
1 file changed