[PATCHv5 1/4] x86/tdx: Introduce wrappers to read and write TD metadata