[Bluetooth] Fix NULL pointer dereferences of the HCI socket