fixes for gdal 2.0 to make sure that OGR drivers and not used as raster data sources