net_sched: fix an allocation bug in tcindex_set_parms()