test: add spec test for primitive top-level CJS throw
Validates the primitive-slot dedupe added in the previous commit: a
top-level `throw "boom"` in a CJS entry module should fire
uncaughtExceptionMonitor / uncaughtException exactly once with
origin === 'uncaughtException', matching the Error-object case.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>