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.

Ported from cm-10.2

Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506