Fix boot animation rotation problem when ro.sf.hwrotation is set to 90 or 270

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