Support the built-in type-trait support in gcc 4.7 and later. Thanks to Albert Wong for the patch.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@212727 91177308-0d34-0410-b5e6-96231b3b80d8