Thomas retains Giro d'Italia lead as climb removed due to avalanches