dir.c: improve docs for match_pathspec() and match_pathspec_depth()