core: Remove GenericChan/Port from prelude. Closes #4762