Add AIX/POWER atomicops and fix compilation with IBM xlC C++ compiler.

These patches adds initial support for POWER 32 and 64-bit atomic operations and fixes up various little things that lets the project and tests compile cleanly with the IBM xlC C++ compiler on AIX.
From what I see, `EXPECT_EQ` is provided by `gtest`, so it can't be changed.