CMake: Fix -Werror stripping.

The old code broke on Fedora, where "-Werror=format-security"
is part of the llvm-config --cxxflags.

GitHub: Fixes #773.