simpleperf: Support parsing kernel disassembly in scripts

Also split the function to add tests.

Bug: 304815072
Test: run test.py -p *test_objdump_parse_disassembly_for_functions
Change-Id: I7d12e6901a7c441575a98228c504464b555f2567
2 files changed