ath9k: add a helper to clean the core driver upon module unload