[ramips] correct PCI IO/Mem resource swapping