Merge pull request #2352 from JosJuice/scheduleevent-immediate-assert CoreTiming: Add assert to ScheduleEvent_Immediate