[PATCH] pci: Fix device_find_first_child() return value handling