ci: Fail compilation as C++11 when C++17 headers are included

Our Fedora+Ninja job builds as C++11 to catch uses of later C++
standards during CI, but the compiler's standard library still
has C++17 headers.  Explicitly fail if C++17 headers are included
directly instead of our compatibility layer.
1 file changed