Maintain legacy RTOS behavior before mbed-5

Fork of mbed-rtos by mbed official

rtos/Semaphore.cpp/shortlog@88a1a9c26ae3: not found in manifest