Linearise ghc-internal and base build
This is achieved by requesting the final package database for
ghc-internal, which mandates it is fully built as a dependency of
configuring the base
package. This is at the expense of cross-package
parrallelism between ghc-internal and the base package.
Fixes #24436