Make LZMA SDK compatibility shims conditional on the version of the SDK.

Shims were previously introduced because Chromium's LZMA SDK is behind
Android's. In this CL, we revise the shims so that they are conditional
based on the LZMA SDK version in use. This should allow us to update
Chromium's LZMA SDK. Ideally, these shims can be removed after Chromium
is updated.

Bug: 1224596
Change-Id: I4a28edb0033be4c0f2db5b9c00dcb65f7694b9be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/third_party/libunwindstack/+/2996428
Reviewed-by: Mike Wittman <wittman@chromium.org>
Bot-Commit: Mike Wittman <wittman@chromium.org>
2 files changed