Updated Android compiler to GCC 4.8, using __sync intrinsics for ARM memory barrier