type_traits: add a mechanism to disable noexcept checks for pre-C++11 classes.