fix gdb/valgrind wrappers to pass through arguments

Reviewer: trivial