colibri-imx8x: extract is_imx8dx() from ram detection