[PATCH 6.4 045/206] drm/amd/display: check attr flag before set cursor degamma on DCN3+