rgw: fix valgrind when no valgrind

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Merge git://github.com/ceph/teuthology