Add coercions from *mut to *const and from &mut to *const.
Merge pull request #19766 from nick29581/coerce-raw

Add coercions from *mut to *const and from &mut to *const.

Reviewed-by: eddyb