Change to new libbacktrace offline functions.

Changes:
- Removes references to libunwind.
- Add enabling of global Elf cache.
- Add new ApkInspector function to get the offset from an apk by name.
- When a map name contains a '!' convert back to a name and offset.
- Initialize global elf cache in OfflineUnwinder constructor.

Bug: 65682279

Test: All unit tests pass.
Change-Id: I303b4beab8270ed2097cd17d91253c321cdc97f1
diff --git a/simpleperf/nonlinux_support/nonlinux_support.cpp b/simpleperf/nonlinux_support/nonlinux_support.cpp
index 4a2e82c..4f53c0e 100644
--- a/simpleperf/nonlinux_support/nonlinux_support.cpp
+++ b/simpleperf/nonlinux_support/nonlinux_support.cpp
@@ -21,6 +21,10 @@
 #include "OfflineUnwinder.h"
 
 namespace simpleperf {
+OfflineUnwinder::OfflineUnwinder(bool strict_arch_check, bool collect_stat)
+    : strict_arch_check_(strict_arch_check), collect_stat_(collect_stat) {
+}
+
 bool OfflineUnwinder::UnwindCallChain(int, const ThreadEntry&, const RegSet&, const char*, size_t,
                      std::vector<uint64_t>*, std::vector<uint64_t>*) {
   return false;