Strip garbage output from valgrind.log