feat(permissions): allow `Deno.env.toObject()` for partial env permission (#31267)
Allow calling `Deno.env.toObject()` or getting the entire `process.env`
when only having partial permissions.
For example, you can now do `--allow-env --deny-env=SOMETHING` and the
object will have all the env vars except `SOMETHING`
We discussed just never throwing here, but we think it would be a bad
idea because someone might get confused why their program isn't working
whereas now they get alerted about env permissions ("I set this
environment variable, but it's not working!").