util: hide toStringTags if already included in the constructor
This makes sure that Symbol.toStringTag
entries won't be taken
into account when inspecting objects with util.inspect()
in case
the tag is already included in the found constructor name.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines