[Git][ghc/ghc][master] hadrian: Persist the used flavour name in the build root (#20650)