read_xpm: in color table, fall back on m and then g, if c is not present on a line.