Fix the screen-off animation ignoring value set in ro.sf.hwrotation

Change-Id: I0afe5a6f5a1f17f92e615ef79fa6e52226c40522
Merge pull request #2 from CyanogenMod/cm-10.2

Backport CM commits.