[PATCH 4.14 144/205] niu: fix missing checks of niu_pci_eeprom_read