object: Export git_object_dup