vgabios: Compare PCI ids against pci rom struct instead of config settings.