batman-adv: make struct batadv_orig_node algorithm agnostic