Some minor improvements on the symtab parsing code
- Remove an unnecessary re-computation on arch spec from the ELF file
- Use a local cache to optimize name based section lookup in symtab parsing
- Optimize C++ method basename validation with replacing a regex with hand written code
These modifications reduce the time required to parse the symtab from
large applications by ~25% (tested with LLDB as inferior)