InCell: correct for Z/T recording oddities in InCell 6000

Fixes #12416.
InCell: prevent NPE if the imaging mode is not specified
Merge pull request #1212 from melissalinkert/12416

Fix Z and T size calculation for InCell 6000 data