fix review comments

- get rid of unneeded vmlinux variable
- create patch_make_funcs_list() and patch_make_dynrelas_list()