[Git][ghc/ghc][wip/bytecode-header] 12 commits: Add regression test for #18177