Improved "valgrind" target for ldmd(8).

Tried to add "installcheck-local" target, but valgrind(1) won't execute
setuid programs that are owned by root -- even adding a wrapper script
doesn't do what's needed.