Legacy code contains references to platform-specific files.
E.g. cmsis.h and platform_retarget.h should not be referenced in TF-M outside the HAL
Remove unnecessary dependencies.
cmsis_compiler.h can be used as it can be referenced directly from CMSIS repo.