Fix *const and *mut raw pointers