MLECO-3110: Fix for warnings from TensorFlow Lite Micro

Changes to fix "Pillow not found" warnings from TensorFlow
Lite Micro build.

Change-Id: I42a9b3f6df746ac3e34585e0c79ffdf35da97aef
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
diff --git a/source/hal/source/platform/mps3/source/timer_mps3.c b/source/hal/source/platform/mps3/source/timer_mps3.c
index b6e3c7c..beb0435 100644
--- a/source/hal/source/platform/mps3/source/timer_mps3.c
+++ b/source/hal/source/platform/mps3/source/timer_mps3.c
@@ -126,7 +126,9 @@
 #if !defined(CPU_PROFILE_ENABLED)
     UNUSED(get_tstamp_milliseconds);
     UNUSED(Get_SysTick_Cycle_Count);
+    UNUSED(unit_ms);
 #if !defined(ARM_NPU)
+    UNUSED(unit_cycles);
     UNUSED(add_pmu_counter);
 #endif /* !defined(ARM_NPU) */
 #endif /* !defined(CPU_PROFILE_ENABLED) */