[PATCH 6.6 092/331] Revert "kobject: Remove redundant checks for whether ktype is NULL"