ath9k: move rate descriptor reading into a helper