[PATCH 4.14 223/323] ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices