Major wildfires have swept through Spain's northern Galicia region, burning through swathes of parks and forest.