cmake: platform: also detect clang by C_COMPILER_ID: C_COMPILER may vary

May use /usr/bin/cc which is a symlink to /usr/bin/clang, resulting in COMPILER being cc but COMPILER_ID being Clang.