CMake: remove -Wno-unused-result from CXXFLAGS