Change exception tracer to use per-thread caching in libunwind