[PATCH 6.12 161/218] drm/amd/display: Add null pointer check for get_first_active_display()