kobject: check for duplicate names in kobject_rename