[PATCH 5.2 016/131] soc: imx8: Fix potential kernel dump in error path