core::rt: Use unsafe pointers instead of transmuted regions