GIBS-470 Error handling added for bad JPEG tile detection