asmatlock

Results 2 issues of asmatlock

Previous support for AES_MODE_ECB is still not returned since PR #6920 removed it. The arch types that did support it are left waiting and the crypto test all fail.

When pthread_mutex_init is called, it should also set the proto with SEM_TYPE_MUTEX so that nxsched_get_stateinfo can report better information for debugging of a thread's state.