[lib][sm] Create all sm threads on the main CPU

If we sleep during boot on the main CPU while holding the
vmm_lock mutex before sm_secondary_init calls thread_create
which blocks on that mutex, we hit a deadlock where all secondary
CPUs are blocked on vmm_lock while the NS OS gets stuck trying
to schedule those CPUs over the main one.

This fixes the deadlock by creating the threads on the main CPU.

Bug: 217580763
Change-Id: Ie3d24655c8ad7394f35c9e5f258c3e5bb1523296
1 file changed