Revert "Fix to FreeImage.h for OSX and iOS for typedef problems, replaced with define/undef"

This reverts commit e30f19e919885787c4ca7c0f5e135bcfa7812b4c.

Original state