G20 agrees aid to avert Afghanistan humanitarian crisis