ld9040: fix late resume

* added lcd regulator checks before late resume calls lcd init
* fixes upside-down lockscreen upon resume
* fixes lcd not waking upon resume

Change-Id: Ia152c3b61afff14404488ed8b46e7bf777728f12
Merge branch 'cm-10.1' into android-jb-mr1-v7-exp