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