misc: move to new pool_foreach macros