lib: fix flaky test-stream-pipe-after-end
This should fix why SafeSet failed to inherit all
properties of Set, since the bug was effectively
null
-ifying everything down its prototype chain.
Fixes: https://github.com/nodejs/node/issues/31227
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines