[PATCH 5.10 331/518] drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream