Oil heads for 7th weekly loss with supply surplus, weak China demand