GHCi: Fix load/reload space leaks (#4029)