Fixed a bug in the linker.  When resolving prototype formals for
extensions, lookup the protoype in the extended classifier, not the
local classifier.  Otherwise, a classifier could provide a prototype
actual for a prototype that it defines locally.