[Git][ghc/ghc][wip/andreask/fix-prof-segv] Add test and changelog for #27123 fix.