SPM: Deprecate customized '*_mem*' API

The 'tfm_mem*' APIs in tfm_memory_utils.h was designed for indicating
potential specific mem* implementation in secure firmware. As now the
general mem* API in string.h is callable in secure firmware, deprecate
the legacy implementation as it is unlikely to have an update.

Also limit the 'spm_mem*' API usage in platform sources, because
platform sources are shared between targets instead of being specific
for SPM.

Signed-off-by: Ken Liu <Ken.Liu@arm.com>
Change-Id: Iea731fe14410bd7c319a378474da7b5282a28496
diff --git a/platform/ext/common/exception_info.c b/platform/ext/common/exception_info.c
index d383fa4..25e7e7c 100644
--- a/platform/ext/common/exception_info.c
+++ b/platform/ext/common/exception_info.c
@@ -218,8 +218,7 @@
     ctx->MSP = MSP_in;
     ctx->PSP = PSP_in;
     ctx->EXC_FRAME = get_exception_frame(ctx->EXC_RETURN, ctx->MSP, ctx->PSP);
-    spm_memcpy(ctx->EXC_FRAME_COPY, ctx->EXC_FRAME,
-               sizeof(ctx->EXC_FRAME_COPY));
+    memcpy(ctx->EXC_FRAME_COPY, ctx->EXC_FRAME, sizeof(ctx->EXC_FRAME_COPY));
 
 #ifdef FAULT_STATUS_PRESENT
     ctx->CFSR = SCB->CFSR;