G7 commits to tackling global debt