rt2x00: Split out parts of the rt2800_txdone function for easier reuse