parser: generalize cc resolver
Revert "parser: generalize cc resolver"

This reverts commit 83286e5061d3f7b0c81353fbc269e78f111b11b2.
parser: elf: ignore non function
perfpd: cleanups
perfpd: skip attr
perfpd: fix branch and dedup cc/branches