configfs: Rework configfs_depend_item() locking and make lockdep happy