parse-opt: bring PARSE_OPT_HIDDEN and NONEG to git-rev-parse --parseopt