Imaris HDF: fix one more set of off-by-one bugs