[PATCH AUTOSEL 5.4 25/29] drm/amd/display: Fix overlay validation by considering cursors