IOMUX: Fix buffer overflow in iomux_replace_device()