Use unique_ptrs for color glyph conversions instead of malloc/free.
Use unique_ptrs for color glyph conversions instead of malloc/free.

PiperOrigin-RevId: 153713688
Change-Id: Id755c4d4a2c8f500384facecc12c312f11c20f7d

google/flatui,google/flatui,google/flatui,google/flatui