debug/gosym: add funcTab abstraction
debug/gosym: add funcTab abstraction

This clarifies the existing code and makes modifications easier.

name            old time/op    new time/op    delta
115/LineToPC-8    58.6µs ± 3%    56.4µs ± 3%  -3.80%  (p=0.000 n=15+15)
115/PCToLine-8     194ns ± 2%     188ns ± 2%  -3.31%  (p=0.000 n=15+15)

Change-Id: Iafdf57af93d5e3c145965c32e0227e37c69ab017
Reviewed-on: https://go-review.googlesource.com/c/go/+/353880
Trust: Josh Bleecher Snyder <cdc248cc4d32e4fbfe04e45228163bcecd48a0b9@gmail.com>
Run-TryBot: Josh Bleecher Snyder <cdc248cc4d32e4fbfe04e45228163bcecd48a0b9@gmail.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>

CAFxX/go,nawawi/go,cloudflare/go,nawawi/go,cloudflare/go,golang/go,cloudflare/go,golang/go,golang/go,cloudflare/go,CAFxX/go,cloudflare/go,golang/go,CAFxX/go,nawawi/go,cloudflare/go,golang/go,golang/go,nawawi/go,nawawi/go,golang/go,CAFxX/go,CAFxX/go,cloudflare/go,cloudflare/go,CAFxX/go,nawawi/go,nawawi/go,CAFxX/go,nawawi/go,CAFxX/go,golang/go