Build: Refine tfm_secure_api dependency routine

tfm_sprt linked platform_s and tfm_secure_api before. This has
been refined in TF-M repo. Thus irq services need to add these
two library dependency.

tfm_arch is linked by tfm_secure_api and it is unnecessary to link
it when tfm_seure_api is already linked.

Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: I49117fe99f779c515ac9b6464295e450fadd7395
7 files changed