gitweb: Move git-ls-tree output parsing to parse_ls_tree_line