CheckCompilerFlags: Revert "Catch linker warning about ignored flags" Revert commit f745e0497e (CheckCompilerFlags: Catch linker warning about ignored flags, 2022-01-03, v3.23.0-rc1~174^2). It regressed cases where incidental linker warnings were previously tolerated. Revert the change pending further investigation. Fixes: #23432 Issue: #22961