[PATCH 5.12 585/677] MIPS: pci-legacy: stop using of_pci_range_to_resource