[CMake] Do not call CXXInitializerList, it is done in dune-common.
Use Dune::conditional instead of deprecated SelectType.