Keep unwind table when cast_is_debug is true

The platform of Chromecast devices are arm/aarch64. For getting the
backtrace of malloc location by heap profiler, we need to keep the
unwind table for stack walking.

Bug: None
Change-Id: I8e4e4dc4f47206734aa7764a956c751c825446e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1527952
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Luke Halliwell <halliwell@chromium.org>
Commit-Queue: Chia-hung Duan <chiahungduan@google.com>
Auto-Submit: Chia-hung Duan <chiahungduan@google.com>
Cr-Commit-Position: refs/heads/master@{#642465}
3 files changed