Camera: fix preview for landscape devices

Landscape devices have broken preview because PORTRAIT mode is
being abused to check for screen rotation. Use proper rotation
check to fix.

Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2