[CI] Use clang in precommit and gcc in postcommit for Linux builds (#16266)
`clang` seems to produce more warnings which causes build failures with
`-werror` which is enabled by default in CI, so use `clang` in precommit
to catch those issues before merging.
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>