PCI: Fix multiple problems with VIA hardware