[sanitizer] Intercept realpath and canonicalize_file_name.

Handle realpath(path, NULL) form.