valgrind: apply Snow Leoapard patch

Closes #27289.
valgrind: add 3.9.0 bottle.