vdpa/ifc/base: fix null pointer dereference