Oil prices head for weekly loss as geopolitical risk premium wanes