[PATCH 5.10 14/68] drm/amd/display: check attr flag before set cursor degamma on DCN3+