[Sampling profiler] Rewrite stack addresses while copying on Windows

Simplifies the implementation to match the Mac unwinder. Local performance
testing indicates that this approach is of equivalent performance to
the existing implementation.

Bug: 931418
Change-Id: I160299d3c70baa9189e84342741916eb4c4e1b65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1529335
Commit-Queue: Mike Wittman <wittman@chromium.org>
Reviewed-by: Charlie Andrews <charliea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#642950}
1 file changed