[Tf-m] Issues porting to new toolchain