Bluetooth: hci_core: fix NULL-pointer dereference at unregister