Replace Thread::wait with wait

Fork of Workshop-1-Example-3 by mbed Workshops

mbed-os.lib/shortlog@04fa7fb0681e: not found in manifest