submodule: convert show_submodule_summary to use struct object_id *