optabs: Use operand[2] mode in can_vec_set_var_idx_p