Imaris HDF: make sure that all resolutions have the same ZCT sizes (rebased onto develop)



This is the same as gh-1094 but rebased onto develop.

----

Fixes https://trac.openmicroscopy.org.uk/ome/ticket/12200.  I would expect the file mentioned in the ticket to import into OMERO and display correctly with this change.