ta: 64-bit fixes

64-bit fixes for TAs to work and compile for Aarch64.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
diff --git a/ta/os_test/os_test.c b/ta/os_test/os_test.c
index 6fcbc7c..26f255b 100644
--- a/ta/os_test/os_test.c
+++ b/ta/os_test/os_test.c
@@ -62,9 +62,9 @@
 	char nbuf[80];
 	char vbuf[80];
 	char vbuf2[80];
-	size_t nblen = sizeof(nbuf);
-	size_t vblen = sizeof(vbuf);
-	size_t vblen2 = sizeof(vbuf2);
+	uint32_t nblen = sizeof(nbuf);
+	uint32_t vblen = sizeof(vbuf);
+	uint32_t vblen2 = sizeof(vbuf2);
 
 	res = TEE_GetPropertyName(h, nbuf, &nblen);
 	if (res != TEE_SUCCESS) {
@@ -171,7 +171,7 @@
 		case P_TYPE_BINARY_BLOCK:
 			{
 				char bbuf[80];
-				size_t bblen = sizeof(bbuf);
+				uint32_t bblen = sizeof(bbuf);
 
 				res =
 				    TEE_GetPropertyAsBinaryBlock(h,