Removing the init_thread_list and updating the inferior_thread during libthr loading