[PATCH v2 2/3] drm/sprd: fix potential NULL dereference