[PATCH 5.4 175/270] Bluetooth: hci_serdev: Only unregister device if it was registered