[Git][ghc/ghc][wip/fix-unreg] hadrian/rts: fix unregisterised build for gcc 15+