Segfault with -fworker-wrapper-cbv and typing plugins
## Summary
In a code that uses `ghc-typelits-knownnat` and `ghc-typelits-natnormalise`, an executable compiled with `ghc-9.15.20260313` and `-fworker-wrapper-cbv` segfaults and without doesn't segfault. It also doesn't segfault when compiled with `-O0`. No other fishy options nor dependencies. The typing plugins are probably not to blame, because it segfaults across many plugin versions and also the plugins were recently significantly fixed/hardened in various ways.
## Steps to reproduce
```
git clone git@github.com:Mikolaj/horde-ad.git
cd horde-ad
git checkout unsoundness-without-polymorphic-specialisation2-updated
cabal update
cabal build all -w /home/mikolaj/r/ghc.Zubin/ghc/_build/stage1/bin/ghc --allow-newer --enable-optimization --constraint=hashable==1.5.0.0 --ghc-option=-fworker-wrapper-cbv
dist-newstyle/build/x86_64-linux/ghc-9.15.20260313/horde-ad-0.1.0.0/x/simplifiedOnlyTest/build/simplifiedOnlyTest/simplifiedOnlyTest
```
(The path of the executable to run is the last path that GHC displays during the complation.)
Note to self: this segfaults similarly on my current master branch of horde-ad, but the reproducer above is smaller (though still huge), simpler and much older. Once this is fixed, I will try the fix on a new horde-ad checkout as well. I will also try this checkout, because it proved fruitful in the past: https://gitlab.haskell.org/ghc/ghc/-/issues/23923#note_540661
## Expected behavior
No segfault.
## Environment
* GHC version used: ghc-9.15.20260313, released GHC versions work fine
Optional:
* Operating System: Ubuntu
* System Architecture: amd64
issue