fixed a bug in swf_ExtractImage() for 8-bit palette lossless images