Use AC_GCC_WARNING_COND to figure out whether the compiler
supports -Wcast-qual.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14663 a5019735-40e9-0310-863c-91ae7b9d1cf9