Add <record>s and <class>es to the second pass if superclass undefined

There are cases when a class is defined before its superclass. An example
is GInitiallyUnowned. Try parsing these again just like methods if there
is a superclass declared, but the superclass is not defined yet.