Applying exif orientation to transform scaled image

Fixing https://github.com/CODeRUS/mitakuuluu2/issues/112