[C++11] Use std::atomic instead of LLVM's.

No intended functionality change.
[C++11] ASTMatchers: Use standard static_assert and type traits.