[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 28 commits: Check that shift values are valid