Revert "Revert "libgc: Use GCC atomics on ARM.""

This reverts commit 610896dea93ffa9fbf209e772259b2d1ea98aa30.
Revert atomic changes on ARM.