build: Add support for valgrind memcheck run from make.