Maintain legacy RTOS behavior before mbed-5

Fork of mbed-rtos by mbed official

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