[GHC] #11787: Infer HasCallStack where possible