[MIPS] Rewrite get_wchan and its helper functions using kallsyms_lookup.