Addapting to changes in std::ptr

std::ptr::to_unsafe_prt and std::ptr::is_not_null disappear
from rust master.