sched/debug: Fix sd->*_idx limit range avoiding overflow