[PATCH 5.10 309/529] drm/amd/display: Fix potential null-deref in dm_resume