Move IRasterIO implementation from RasterBand to Dataset in order to minimize the number of database queries