[PATCH 6.18 228/312] idr: fix idr_alloc() returning an ID out of range