allow to create internal modules via AssetContext (#5095)
### Description
This allows to create an Module with inner asset via AssetContext.
This will also respect transitions.
This change allows use to use `context.process(source,
ReferenceType::Internal(inner_assets)` instead of
`EcmascriptModuleAssetVc::new_with_inner_assets(..., ..., ..., ..., ...,
inner_assets)`
next.js PR: https://github.com/vercel/next.js/pull/50338