[PATCH 5.10 135/226] nvme-pci: factor out a nvme_pci_alloc_dev helper