T11788 is broken
## Summary
Test T11788 is broken and fails with:
```
Wrong exit code for T11788()(expected 0 , actual 2 )
Stderr run ( T11788 ):
ghc: internal error: ASSERTION FAILED: file linker/LoadArchive.c, line 620
(GHC version 914 for aarch64_unknown_linux)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Aborted (core dumped)
gmake[2]: *** [Makefile:87: T11788] Error 134
*** unexpected failure for T11788(normal)
```
## Steps to reproduce
* build a statically linked GHC
* run test T11788
## Expected behavior
Test passes
## Environment
* GHC version used: this was tested on the stable-haskell fork, example CI https://github.com/stable-haskell/ghc/actions/runs/19889148568/job/57006783534#step:6:1743
issue