Oil heads for 7th weekly loss as supply surplus