[TF-M] tfm_ns_interface functions refactoring