[SeaBIOS] [PATCH 2/2] kbd: Refactor capslock and numlock handling