StaticThread: inherit from Thread
StaticThread: inherit from Thread

This effectively reverts 0a020d979292eb6789f10cac18d792d6842d50f7 - now
correct order of construction and destruction is guaranteed by proper
use of unique_ptr.
DISTORTEC/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,DISTORTEC/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos