Change ptr::mut_null() to ptr::null_mut()

Fixes build warnings.