[PATCH 5.7 258/393] Bluetooth: hci_serdev: Only unregister device if it was registered