[Git][ghc/ghc][wip/jeltsch/ghc-9-14-building-base] 6 commits: add options for resizing bytearrays (#27244)