x86, pci: fix off-by-one errors in some pirq warnings