Fixes for device specific dock support

Change-Id: Icdca0b374af92b511114e5bbc7127672102f1274
input: Fix workaround for broken hardware keyboard support

Using a wrong reference to mHardKeyboardAvailable caused device config
to never report physical keyboards.

Change-Id: I9b64e2d89512436c17fa8929464e2b727fba1cf3