fix(clang): fix bugprone-narrowing-conversions errors

Remove silent narrowing conversions.
Note in fdt_patch_mem since the conversion of fdt_max_size occurs
on the boundary between hafnium and third_party libaries we use a
cast to make the conversion explicit however the conversion itself
is not removed.

Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: I4ece5be0262ae06e3dc63e5970ec1a014956a43f
diff --git a/src/ffa_memory.c b/src/ffa_memory.c
index 4f1b308..120d958 100644
--- a/src/ffa_memory.c
+++ b/src/ffa_memory.c
@@ -731,7 +731,7 @@
 	struct vm_locked vm_locked,
 	struct ffa_memory_region_constituent **fragments,
 	const uint32_t *fragment_constituent_counts, uint32_t fragment_count,
-	int mode, struct mpool *ppool, bool commit)
+	uint32_t mode, struct mpool *ppool, bool commit)
 {
 	uint32_t i;
 	uint32_t j;