memcg: enhance memcg iterator to support predicates