valgrind: fix Lion-only patch

Closes #29016.
Remove nested conditional
gnuplot: add missing dependencies
gnuplot: add 4.6.5 bottle.