[update] [rtai] make mutex RES_SEM

RES_SEM seems to be the correct form for mutexes.  RTAI's own pthread
wrapper for pthread_mutex_init also uses RES_SEM.

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>