This fixes rtw89's TX path, which was previously faulting constantly
in linuxkpi_ieee80211_next_txq. Our "double scheduling" check was
slightly incorrect, checking if the next pointer was valid. The
next pointer may be NULL if the element is the last in the tailq,
we should instead check tqe_prev.
Because of this we were queuing an element to the tailq twice, and
because it was the last element and had a NULL tqe_next, that NULL
value would get propogated into another node's tqe_prev on removal,
and other such nastiness.
With this rtw89 seems to perform quite nicely, I can actually get
a very stable connection with decent 802.11a speeds.