fix(runtime): clang-tidy redundant cast warnings

This patch fixes warnings of redundant casts to the same type from the
clang-tidy google-readability-casting check.

Signed-off-by: Chuyue Luo <Chuyue.Luo@arm.com>
Change-Id: I8fbd15d00413e1dcb38c4d2c43f6d3c13359716d
diff --git a/runtime/rmi/realm.c b/runtime/rmi/realm.c
index 49d0400..b50a605 100644
--- a/runtime/rmi/realm.c
+++ b/runtime/rmi/realm.c
@@ -125,7 +125,7 @@
 		return 1U;
 	}
 
-	return (unsigned int)(1U << (ipa_bits - sl_ipa_bits));
+	return (1U << (ipa_bits - sl_ipa_bits));
 }
 
 /*
diff --git a/runtime/rmi/rec.c b/runtime/rmi/rec.c
index 67b5e1e..33bece3 100644
--- a/runtime/rmi/rec.c
+++ b/runtime/rmi/rec.c
@@ -195,7 +195,7 @@
 	aux_data = &r->aux_data;
 	aux_data->attest_heap_buf = (uint8_t *)rec_aux;
 	aux_data->pmu = (struct pmu_state *)
-		((uint8_t *)aux_data->attest_heap_buf + REC_HEAP_SIZE);
+		(aux_data->attest_heap_buf + REC_HEAP_SIZE);
 	aux_data->simd_ctx = (struct simd_context *)
 		((uint8_t *)aux_data->pmu + REC_PMU_SIZE);
 	aux_data->attest_data = (struct rec_attest_data *)
diff --git a/runtime/rsi/logger.c b/runtime/rsi/logger.c
index 031803c..3300a06 100644
--- a/runtime/rsi/logger.c
+++ b/runtime/rsi/logger.c
@@ -100,7 +100,7 @@
 
 	assert((cnt > 0) && ((unsigned int)cnt < (MAX_NAME_LEN + 1U)));
 
-	(void)memset((void *)((uintptr_t)buf + (unsigned int)cnt), (int)' ',
+	(void)memset((void *)((uintptr_t)buf + (unsigned int)cnt), ' ',
 					MAX_NAME_LEN - (size_t)cnt);
 
 	buf = (char *)((uintptr_t)buf + MAX_NAME_LEN);