[PATCH 6.11 443/817] x86/tdx: Introduce wrappers to read and write TD metadata