[PATCH 5.12 139/363] PCI: endpoint: Fix NULL pointer dereference for ->get_features()