pkg_parse: remove const requirement from pkg_parse_line()