Maintain legacy RTOS behavior before mbed-5

Fork of mbed-rtos by mbed official

rtos/Thread.cpp/shortlog@28712e303960: not found in manifest