[PATCH 6.12 372/423] x86/tdx: Fix arch_safe_halt() execution for TDX VMs