`std::ptr::read_ptr` now takes `*T` instead of `*mut T`

Closes #10579
auto merge of #10595 : hatahet/rust/master, r=thestinger

Closes #10579