[SeaBIOS] [PATCH 05/10] kbd: Extract out shift flag setting into new function