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