[PATCH 5.10 110/289] PCI: endpoint: Fix NULL pointer dereference for ->get_features()