ath9k: move hw macrevision checker to helper