Bluetooth: fix sparse & gcc warnings