feat(ext/node): restore module.registerHooks (#34081)
Relands `module.registerHooks()` support after the full
`module.register()` revert in #34077.
This intentionally keeps the scope focused on the stable sync API:
- restores sync `resolve`/`load` hook chaining for CommonJS `require()`
- restores ESM `import()` interception for sync `registerHooks()` hooks
- restores `Module.registerHooks`
- keeps the previous named `register()` stub that returns `undefined`,
preserving compatibility for code that imported it before the deprecated
implementation landed
- adds focused Deno specs and re-enables the CJS sync Node compat cases
This does not reintroduce the deprecated async `module.register()`
worker-loader implementation or the `--experimental-loader` passthrough.