[PATCH 6.17 419/563] wifi: ath12k: Refactor RX TID deletion handling into helper function