Fix assertThrows constructor name handling.

Such that attempting to instantiate an AssertionError (node's version)
with no arguments does not throw a TypeError.