Global shares extend losses ahead of US inflation report