Fix invalid return value for Exif rotation