Add workaround for broken hardware keyboard support

To cherrypick https://gerrit.omnirom.org/#/c/3011