drm/msm: fix potential NULL pointer dereference