Maintain legacy RTOS behavior before mbed-5

Fork of mbed-rtos by mbed official

rtx/TARGET_ARM7/rt_Semaphore.h/shortlog@58563e6cba1e: not found in manifest