src: move `Environment` ctor/dtor into env.cc
Splitting out from https://github.com/nodejs/node/pull/18936:
This makes it easier to use methods from other headers in the constructor and destructor.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes (presumably) -
commit message follows commit guidelines