locking/ww_mutex: Add rt_mutex based lock type and accessors