core: Fix files that needed GenericChan/Port from prelude