CMakeDetermineCompilerId: check with and without user-specified flags
Fixes #16587 (closed) : Adding "-march=" to flags breaks determining compiler ID when cross-compiling with Clang
Fixes #16587 (closed) : Adding "-march=" to flags breaks determining compiler ID when cross-compiling with Clang