[PATCH 5.0 160/346] drm/msm: Fix NULL pointer dereference