iallocator: fix incomplete refactoring