Revert "Added IGNORE_DECODING_ERRORS flag to ImageFile allowing corrupted images to load"

This reverts commit 156a443cdf8e62ca8e942d024f9bcf212a12180b.