misc: pass premable through when no valgrind

The reason this doens't affect things other than radosgw is that those
tasks only call this method if valgrind is in fact defined, so they don't
hit this "no-op" case that rgw.py does.

This fixes the radosgw shutdown failures, #9069