sctp: fix a potential OOB access in sctp_sched_set_sched()