Issue #585: use OSAtomicAdd32 which was available since iPhone 2.0 inste...

...ad of OSAtomicIncrement32 and OSAtomicDecrement32, which is iPhone 7.1+