net: wireless: ath9k: avoid possible NULL pointer dereference