Now that glyph indices are exposed to bk_pdf.c, move CMap generation there,