[Git][ghc/ghc][wip/davide/io_manager_tests] 24 commits: add options for resizing bytearrays (#27244)