PCI: fix offset check for sysfs mmapped files