hadrian: fix hadrian building with ghc-9.10.1
Attempting to build ghc head with ghc-9.10.1 would fail with package bound errors when building hadrian, this patch fixes it.
Attempting to build ghc head with ghc-9.10.1 would fail with package bound errors when building hadrian, this patch fixes it.