Bluetooth: Retain the old COD if already present

Retain the old COD as the initial value if the device
entry already present in the list and entry is not in use.

CRs-Fixed: 546135
Change-Id: I99b7269b1976ef7458c6568441e6e3c1e015a75f
Merge "Bluetooth: Retain the old COD if already present"