drm/sched: Fix static checker warning for potential NULL ptr