Apply EXIF rotation to X-Content-Dimensions