CVE-2025-39789 crypto: x86/aegis – Add missing error checks