[cleanup][io] Small fixes in raster image reader

Merged Timo Koch requested to merge fix/rasterimagereader-unused into master

Merge request reports