spi/imx: correct the test on platform_get_irq() return value