Add onBuildComplete adapter hook (#80446)
This implements the second hook `onBuildComplete` from the adapters RFC
https://github.com/vercel/next.js/discussions/77740 which exposes
structured routing and build outputs information that can then be used
to create finalized outputs depending on differing deployment targets.