CVE-2024-50177 drm/amd/display: fix a UBSAN warning in DML2.1