[gdal] use find/distance for get_band_id