Fix loop in the interface representation of some `Unfolding` fields
Fixes #22272 (closed).
It'd be nice to include a test case for it, but it's unclear to me how to do that due to two reasons:
Reproducing involves multiple invocations of GHCThere's no output, the pass/fail result is whether GHC finishes or loops