[PATCH] idr: Fix idr_alloc() returning an ID out of range