[PATCH 5.16 0363/1039] drm/amd/display: fix dereference before NULL check