gpio_keys: Fix flip cover turning screen off

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

https://github.com/CyanogenMod/android_kernel_samsung_smdk4412/commit/f9a3f53f7726335685a8eea3a76560dfe62278eb

Credits: sbrissen <sbrissen@hotmail.com>