memstick: avert possible race condition between idr_pre_get and idr_get_new