repl: do not define `wasi` on global with no flag
Fixes #45560 (closed)
In the REPL, prepareMainThreadExecution
that updates the canBeRequiredByUsers
flag of wasi
module according to the flag is called after the internal/process/esm_loader.js
load that creates builtinModules
depending on the module.canBeRequiredByUsers
flag. In this case, wasi.canBeRequiredByUsers
is always true
so wasi
module always can be required by users even if the flag is not set.