[C++11] Replace LLVM-style type traits with C++11 standard ones.

No functionality change.