[PATCH openEuler-1.0-LTS] kobject: Add sanity check for kset->kobj.ktype in kset_register()