Fixed iOS build after *T removal
auto merge of #15404 : vhbit/rust/ios-ptr-fixes, r=pcwalton