WIP: Move language standard options to the beginning of compiler flags
Through CXX_STANDARD
and COMPILE_FEATURES
target properties CMake
determines what -std=
flag to pass to the compiler. Move this flag to
the beginning of the command line so that flags provided by users can
override it (e.g. to use a standard flag newer than CMake knows).
Fixes: #16608