[MDITAB] Cast MC_I_IMAGENONE to SHORT explicitely where appropriate.
[TABLE] Cast col_count and row_count to size_t where appropriate.

(coverity CID989744 - CID989747).
[TABLE] Ensure ->cells() is not dereferenced when it may be NULL.

(coverity CID989760 and CID989761)