linux-user: call rcu_(un)register_thread on pthread_(exit|create)