Expected result `atmega2560` with QEMU

```
[47/48] cd /home/lucas/AVRTOS/build/examples/thread-join && /usr/local/bin/qemu-system-a.../home/lucas/AVRTOS/build/examples/thread-join/sample_thread_join -nographic -icount auto
i: 1/5
i: 2/5
i: 3/5
i: 4/5
i: 5/5
Thread joined with return value 0
Thread started again
i: 1/5
i: 2/5
i: 3/5
i: 4/5
i: 5/5
Thread joined with return value 0
Thread started again
i: 1/5
i: 2/5
```