Bluetooth: Fix potential buffer overflow with Add Advertising