[bluez] Applied upstream fix for crash. Fixes JB#13637.