fix moaiimage crash when loading palletized png
Merge pull request #953 from moaiforge/pull_moaiimage_png_fix

fix moaiimage crash when loading palletized png