[PATCH 4.19 266/273] kobject: Add sanity check for kset->kobj.ktype in kset_register()