ide: tighten checks on PCI BARs in ide_hwif_configure()