[Git][ghc/ghc][master] Implement user-defined allocation limit handlers