[PATCH 5.10 238/518] debugobjects: Fix conditions in fill_pool()