mbuf: fix C++ compatibility by making sched struct visible