[PATCH 5.15 337/691] debugobjects: Fix conditions in fill_pool()