[PATCH 6.8 082/228] Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue