common/sfc_efx/base: fix dereferencing null pointer