core: Remove private::chan_from_global_ptr. #3915
Remove old comm-based weak task interface