Add method Vec<T>::as_mut_ptr()
auto merge of #12945 : cadencemarseille/rust/vec_ng-as_mut_ptr, r=alexcrichton