US leaves door open to talks with Iran about Iraq