Glibc should use the gcc atomic primitives