The configury bits for checking the annotatoin of smart pointers
were mixing up CFLAGS and CXXFLAGS. Now fixed.

Also, when modifying CFLAGS also modify CXXFLAGS unless there is a
good reason not to do so. This only affects compilation of testcases.


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