rt: Remove rust_thread::detach
rt: Remove array_list.h
auto merge of #10163 : brson/rust/rtcxx, r=alexcrichton