[PATCH 5.18 0714/1095] kernfs: fix potential NULL dereference in __kernfs_remove