SDL_image: Added support for building SDL_image for iOS and tvOS

[Couldn't obtain the patch due to network issues; please check the above link instead.]