Adding stub functions for RM OSAL multi-thread critical section enter and exit