shootout-threadring rewrite

* simplify the code
* remove trace to satisfy official shootout test
* use libgreen to improve performances
auto merge of #13656 : TeXitoi/rust/shootout-threadring-rewrite, r=alexcrichton

* simplify the code
* remove trace to satisfy official shootout test
* use libgreen to improve performances