Qatar's government has welcomed an announcement from Saudi Arabia that its people will be allowed to cross the border for the annual Hajj pilgrimage.