Experiment with BitmapData.paletteMap()

Not really intended to be pulled in, just a proof of concept worth investigating.

(not tested with js, nor with interlaced gifs, needs a patch in openfl paletteMap(), etc.)