[GHC] #15524: Performance regression when using the GHC API to evaluate code compared to 8.4