Fix failed assertion when symbol not found in library.

Failure was due to the loss of the locfile for the library.  Locfiles are now
reference-counted, live on the heap, and are held by the insts they contain
source code for.