smdk4412: fix mag cover turning screen off

when charger is plugged in or disconnected while cover is closed
and then opened.

Change-Id: Ifa74d3d0689e1a5c84a4683c2fe24918bc5ab87a
Merge "smdk4412: fix mag cover turning screen off" into cm-11.0
Merge branch 'CyanogenMod/cm-11.0'