tree-diff: rename compare_tree_entry -> tree_entry_pathcmp