Move static-env imports (#77035)
In https://github.com/vercel/next.js/pull/76990 we noticed that imports
in `base-server`/`next-server` are being processed by turbopack which
needs to be investigated further although for now this moves the imports
to only import the necessary files in `next-server` to avoid bundling
time regression.