Oil heads for third week of gains as supply tightens : compa