trxcon/l1sched: refactor l1sched_mframe_layout()