reset input_location in toplev::finalize
reset the incpath module

This adds a finalizer to the incpath module and arranges for it to be
called from the C front end.  This avoids a crash when requested a
second parse.