[GHC] #12191: 7% allocation regression in Haddock performance tests