Add support for EXIF Orientation in JPEG images
Only try processing EXIF data if the input is a JPEG