Make type_is_pod handle structs correctly. Closes #6868.
auto merge of #6924 : msullivan/rust/incoming, r=pcwalton