Text this: Mixed-Criticality Scheduling Using Reinforcement Learning