Adapt new APIs of libkallsyms