PCI: Use BAR index in sysfs attr->private instead of resource pointer