[PATCH 5.12 42/48] drm/amd/display: Fix overlay validation by considering cursors