Fix indexing bug in freeimage plugin
Fix Big Endian check
Merge pull request #1135 from stefanv/freeimage_big_endian

Fix indexing bug in freeimage plugin (closes #1111)