Updated thread locking to avoid deadlock scenario
Updated thread locking to avoid deadlock scenario

Qualcomm submitted patch to address deadlock case when Rx
thread is processing a message while anthci->close is being called

Evervolv/android_external_ant-wireless_ant_native,Evervolv/android_external_ant-wireless_ant_native,ant-wireless/Linux_ant-hal,ant-wireless/Linux_ant-hal