Preserve init errors from async route modules (#95799)
Extracted from https://github.com/vercel/next.js/pull/95468.
We did not have error handling around async module initialization. As a
result, in `output: 'export'` mode, an error during async initialization
were reported as unhandled rejections. Now it properly fails the build.