Backport fix for CVE-2025-11731 and proposed fix for CVE-2025-10911

Source: Fedora 42: mingw-libxslt Critical Type Confusion CVE-2025-11731 Advisory