Fix Class of Device setting when InitiallyPowered=false
Fix Class of Device setting when InitiallyPowered=false

We should only try to derive the major/minor class from
adapter->wanted_cod when the adapter has been fully initialized. If the
adapter isn't initialized wanted_cod will most likely only contain service
class bits so we should instead try to get the necessary major/minor class
from the storage.

pstglia/external-bluetooth-bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,mapfau/bluez,silent-snowman/bluez,silent-snowman/bluez,pkarasev3/bluez,silent-snowman/bluez,mapfau/bluez,pkarasev3/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,mapfau/bluez,ComputeCycles/bluez,ComputeCycles/bluez,mapfau/bluez,ComputeCycles/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez