input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Change-Id: Ib6ade70f399067469ba5aece48c6ec4608125d75

Conflicts:
	services/java/com/android/server/wm/WindowManagerService.java

Conflicts:
	core/res/res/values/config.xml