[RTOS] Semaphore - error.h removal - not used, error -> mbed_error