[PATCH 6.2 0364/1001] drm/msm/gem: Add check for kmalloc