device: Fix segmentation fault removing devices
device: Fix segmentation fault removing devices

There is an unbalanced control regarding to the GATT channel and its
attachid, we have to to update the attach id value by setting it to
zero whenever we detach a GATT channel.

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