Append new C flags when adding defines in base CMakeLists.txt.
Merge pull request #9561 from wefiends/upstream-v3

CMake - Append new C flags when adding defines instead of overriding.