Imaris HDF: make sure that all resolutions have the same ZCT sizes

Fixes #12200.
Merge pull request #1106 from melissalinkert/rebased/develop/ims-resolutions

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