Fix memory handle encoding.

We were sending handles as a single register in some cases, rather than
breaking them into two 32-bit registers as the FF-A spec requires.

Bug: 132420445
Change-Id: Ieb327ded2ad72f5332a1d001452176c8edbe0f08
diff --git a/test/vmapi/common/ffa.c b/test/vmapi/common/ffa.c
index a7048b1..a313267 100644
--- a/test/vmapi/common/ffa.c
+++ b/test/vmapi/common/ffa.c
@@ -83,6 +83,8 @@
 	}
 	EXPECT_EQ(ret.func, FFA_SUCCESS_32);
 	handle = ffa_mem_success_handle(ret);
+	EXPECT_EQ(handle & FFA_MEMORY_HANDLE_ALLOCATOR_MASK,
+		  FFA_MEMORY_HANDLE_ALLOCATOR_HYPERVISOR);
 
 	/*
 	 * Send the appropriate retrieve request to the VM so that it can use it