input: add workaround for broken hardware keyboard support
- this helps devices with broken kernels to use on-screen keyboard
- taken from @cyanogen @ CM
Merge branch 'android-4.4' of github.com:stimpz0r/android_frameworks_base into android-4.4