Zeiss CZI: fix dimension calculations when expected planes are missing

See #12556.