[RTOS] Semaphore - error.h removal - not used