[flashrom] Improving pcidev.c