Add cache for --binary filter in inject cmd.

Regex matching is slow. Cache the DSO to vastly improve performance when
the --binary filter is used.

Test: simpleperf_unit_test
Bug: 79161490
Change-Id: Idc7a8a588c8291ce59fab89ab0278aa0b3fe07f0
1 file changed