[PATCH openEuler-5.10-LTS 103/166] drm/imx: imx-ldb: Check for null pointer after calling kmemdup