[PATCH 5.4 390/403] Bluetooth: fix use-after-free in device_for_each_child()