lib/idr.c: fix rcu related race with idr_find