doc: document `process.env` better

Fixes #6424.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
Merge remote-tracking branch 'upstream/v0.10' into v0.10