Move compiler check from __INTEL to __GLIBCXX__ & version.

This should allow clang to still compile the code using an older version
of the stdc++ library that does not have unique_ptr.
Refs #7194
Merge branch 'bugfix/7194_clang_errors' into develop