Tests: Remove incidental use of C++98 compiler modes
Several tests specify use of C++98 mode since commit b0f277db. The motivating use case for those changes was dropped by !1105 (merged), so remove the use of C++98 mode too. Also remove code that, on some compilers, used C++11 instead of C++98, because we can now just use their default mode.