Replace Thread::wait with wait

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

Revision:
1:2c029f8a45c8
Parent:
0:04fa7fb0681e