Xcode: Derive stdlib from CXX flags
This pull request picks up the suggestion by Brad King to solely rely on CMAKE_CXX_FLAGS
to derive the C++ runtime library setting. This also brings CMake in line with (Apple)Clang in terms of warning the user about the (changed) runtime requirements.
Fixes: #18396 (closed)
Topic-rename: xcode-stdlib-flags