Check*CompilerFlag: make C and CXX modules share most error patterns

This simplifies maintenance as most patterns will be for both modules and may
be added at a central place.
Merge topic 'cxx-flags' into next

f009129 Check*CompilerFlag: make C and CXX modules share most error patterns