[PATCH 5.10 160/459] Bluetooth: fix use-after-free in device_for_each_child()