[PATCH 6.0 0538/1073] Bluetooth: hci_core: fix error handling in hci_register_dev()