Be more conservative about is_trivial support
std::is_trivial
is part of the C++14 specification. However, we have
encountered multiple compilers that purport to implement C++14 but do
not implement std::is_trivial
and the like checks correctly.
To avoid such issues, only use std::is_trivial
on compilers that we
have tested to support it.