fix(memory share): function ffa_memory_attributes_validate

Function ffa_memory_attributes_validate was receiving the wrong argument
type. This patch fixes it, as it is expected to handle
ffa_memory_attributes_t.

Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: Ic283748ca42224e55ca32e353d0498bb672b27f0
diff --git a/src/ffa_memory.c b/src/ffa_memory.c
index 62e219a..3fa07a9 100644
--- a/src/ffa_memory.c
+++ b/src/ffa_memory.c
@@ -1142,7 +1142,7 @@
  * Write-Allocate Cacheable.
  */
 static struct ffa_value ffa_memory_attributes_validate(
-	ffa_memory_access_permissions_t attributes)
+	ffa_memory_attributes_t attributes)
 {
 	enum ffa_memory_type memory_type;
 	enum ffa_memory_cacheability cacheability;