Image Decoder Fixes

Fixes to memory allocation for BMP and NATIVE
Fixes to source offset images for GIF
Merge pull request #68 from inmarket/master

Image Decoder Fixes