[Git][ghc/ghc][wip/supersven/hadrian-cross-stage3] 2 commits: hadrian: Reduce libraryStage equation duplication