add {Imm,M}utableIntSlice
auto merge of #17748 : mahkoh/rust/int_slice, r=aturon