Add symbol caching to the stack tool. This caches resolved symbols, improving symbolization speed for (sets of) stack traces with duplicated symbols. Bug: 38226236 Test: m Test: manual tests Change-Id: Ia579234ba1bf227b12af0c5af5fa3955d0eed4fe