Small fix for atomic operations on armv5 platform