Fixed I_IMAGENONE comparison in drawing tabs

Minor fix to mditabs for aligning text to the tab's left side when no image is present.  The typecasting was incorrect, which led to the text being shifted right in all cases.