Oil heads for 10% weekly gain with supply decline