configure.ac (cxx_compat_warn): Set if -Wc++-compat is supported.