[PATCH v3 1/2] PCI: Fix wrong length of devres array