Implement `VersionedContent` on `EcmascriptBuildNodeChunkContent` (#6354)
### Description
Doing this allows us to use its `GenerateSourceMap` implementation,
providing source maps and code frames in the error overlay whenever an
error happens.
### Testing Instructions
Fixes some of the "basic HMR" test suite.