tools/btmgmt: Fix end of array checks
tools/btmgmt: Fix end of array checks

all_cmd arrays is not terminated by zeroed element.

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