util: remove dead code from inspect()
It is not possible for a ECMAScript class to have a prototype that isn't either a function or null. Test coverage statistics seem to bear out that the code removed here is unreachable.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines