ath9k: optimize register access functions