Fix expression priority.
Revert "Fix implementation of atomic functions for GCC 3.x"

This reverts commit f290814f64174222cc8fabcbc8982265587f8b71.