ObjFWTest: Don't rely on +[isSubclassOfClass]

Not all classes returned by objc_copyClassList() might have this method.

This fixes crashing when using the Apple runtime (which presumably has
some internal classes without said method).