bus/pci: fix find device implementation