CZI: restrict dimension adjustment

SizeZ is no longer altered, and the series count is only changed if the
plane count is not a multiple of the original series count.