[compiler-rt][builtins] Pass -Werror to check_cxx_compiler_flag

This is needed to avoid passing flags that are supported by the compiler
but cause warnings to be emitted.

GitOrigin-RevId: f051c1ded40970169cda84b0966331ae7ad424ed
1 file changed