[coreboot-gerrit] Change in coreboot[master]: device/pci: Reduce scope of dev_find_slot()