Fix evicting multiple objects from a `RecyclingPool` if its `max_size` was just reduced.
Fix evicting multiple objects from a `RecyclingPool` if its `max_size` was just
reduced.

`KeyedRecyclingPool` was already correct.

PiperOrigin-RevId: 360215886

google/riegeli,google/riegeli,google/riegeli,google/riegeli