Simplify logic to calculate the BT/system clock latency
Simplify logic to calculate the BT/system clock latency

This is only a cosmetic change. Using a while loop
we avoid direct manipulation of counter loop variable
when error happens reading the BT clock.

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