[core] gc engine: generator yield pointers instead of nodes