[compiler-rt] Replace deprecated os_trace calls on mac (#138908)

Currently there are deprecation warnings suppressed for `os_trace`; this
patch replaces all uses with `os_log_error`.

rdar://140295247

GitOrigin-RevId: 4964d98057943493e8ee487e738a0601e0614d38
1 file changed