Fix for mozilla/rust@248cb90

See also mozilla/rust#10579 - `std::ptr::read_ptr` shouldn't take `*mut`