ath10k: htt_tx: move lock into id_get function