fix timer thread creation when NOS_CONFIG_THREAD_SUSPEND_ENABLE is 0
fix flag wait with opt NOS_FLAG_CLEAR_ON_EXIT