cpp: bioformats: Replace image_size_type with dimension_size_type

image_size_type was redundant since the image indexing is a
combination of the dimensions all using dimension_size_type.
Using dimension_size_type for everything is simpler and more
consistent.