Bluetooth: Fix handling of getsockname() for HCI sockets