[TF-M] Avoid osThreadJoin()