[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 7 commits: hadrian: Persist the used flavour name in the build root (#20650)