gateway: make olsr_gw_default_lookup_gateway function static