Turbopack: exclude resolve-rewrites if possible (#80939)
Implement this
https://github.com/vercel/next.js/blob/6c4ca1cb12a36d23ddd86fd13e0c87c72d628317/packages/next/src/build/create-compiler-aliases.ts#L174-L181
in Turbopack as well.
This would not be necessary if we consumed Next.js internal files in ESM and they were marked as `sideEffects: free`...