Rely on std::uncaught_exceptions std::uncaught_exceptions is a C++17 feature, so I think we can remove this conditional code from inferior.h.