[Git][ghc/ghc][wip/sol/add-rendered-to-json-diagnostics] 4 commits: Implement user-defined allocation limit handlers