input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Change-Id: Ib6ade70f399067469ba5aece48c6ec4608125d75
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>

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

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