remove unnecessary transmutes
auto merge of #9256 : thestinger/rust/drop, r=alexcrichton