[runtime] Rename mono_thread_info_dettach () to mono_thread_info_detach ().
[runtime] Simplify _wapi_set_termination_details ().