[Acc] [PATCH 3/9] uadk: replace wd_lock to pthread_spinlock