Use atomic instructions on Bitrig armv6. Patch by Patrick Wildt.