[GHC] #10470: Allocating StablePtrs leads to GC slowdown even after they're freed