[runtime] Initialize klass->supertypes properly for dynamic classes.