src: fix deprecation id for non-string env value
This is a follow-up of https://github.com/nodejs/node/pull/18990. A new deprecation id was assigned in it, but it was not reflected in code and test.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines