[B.A.T.M.A.N.] [RFC 05/10] batman-adv: add bat_metric_is_similar API function