Silence output from "which"

On some platforms, errors go to stderr, which was previously not
redirected.