acm: Improve performance of acm_compare_dest() method

The improvement is done by adding address type specific comparison
methods for acm destinations:
 - acm_compare_dest_by_lid()
 - acm_compare_dest_by_gid()

Found-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>