Slightly better cast::from_void_ptr