Fix NotFoundError's constructor property.

The correct subclassing pattern is to set the prototype's `constructor` property after setting up the class's prototype. NotFoundError's constructor should remain `Function`, since it is an instance of `Function`.