t7401-submodule-summary: Use test_cmp instead of plain diff