Add options to build CMake without latest language dialects

Set CMAKE_C_STANDARD and CMAKE_CXX_STANDARD only if they are not
already defined.  This will allow users to add the settings with
different values to their local cache (e.g. on the command line).
Merge topic 'optional-latest-language-dialects' into next

de022e89 Add options to build CMake without latest language dialects