[PATCH 5.10.y 2/2] drm/amd/display: Fix potential null dereference