fix auto rotate

I faced 2 problems getting the images rotated correctly when directly uploaded by my iphone (reported from other phones like android too).

1. The method call defined in `imagine.xml` on the `liip_imagine` alias did not work. When compiling the DI there were no added method call.
2. The picture form my iphone hat the orientation saved under the key `ifd0.Orientatio` and not as hardcoded under `exif.Orientation`

With the provided solution my directly uploaded pictures get autorotated correctly.
I think for readability and preventing typos its better to do assignments outside of conditions