configure: Add check for valgrind/valgrind.h.