[PATCH 5.17 031/225] kernfs: fix NULL dereferencing in kernfs_remove