[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 10 commits: RTS: rely less on Hadrian for flag setting (#25843)