[MIPS] Fix build of several IDE drivers by providing pci_get_legacy_ide_irq