Redirect `which` errors to /dev/null

Some Linux distros have a which that displays an error message if the
command isn't found. That doesn't look nice in the make output, so
redirect it to /dev/null.