Move atomic ops into compiler-specific header.