libgetopts: use Result<Match, _Fail> instead of Result alias for getopts return type