gdal thread config fix