sim: Break the eventq.hh dependency in core.hh.