spi-imx: don't access struct device directly but use dev_get_platdata