Special-casing iter_vec_raw to use a counter for zero-size types (Closes #9890).
auto merge of #10172 : pythonesque/rust/issue-9890, r=thestinger