ghc-heap: Don't Box NULL pointers
Previously we could construct a Box
of a NULL pointer from the link
field of StgWeak
. Now we take care to avoid ever introducing such
pointers in collect_pointers
and ensure that the link
field is
represented as a Maybe
in the Closure
type.
Fixes #21622 (closed)