Revert "Fix crash when rotating Indexed8 format images"
Revert "Fix crash when rotating Indexed8 format images"

This reverts commit bfdfee489a779946735e249bb65ff601a10ccbc3.

amakaseev/sprite-sheet-packer,amakaseev/sprite-sheet-packer,amakaseev/sprite-sheet-packer,amakaseev/sprite-sheet-packer