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

Before: http://www.youtube.com/watch?v=lGzz5agWvro&feature=youtu.be
After: http://www.youtube.com/watch?v=NSq0uWqlAjM&feature=youtu.be

PS2: Rebased
PS3: This doesn't need to depend on unrelated commits.

Change-Id: Ib0729440cc76a604ff400cb9c4e8da3350b7d214