Since the default processing of JPEG in Image.JPEG was changed to
take EXIF Orientation into account, let's update Image.Dims to also
take that into account, so it correctly predicts the dimensions that
will result from loading the image.