[ssa.c, common.h]: Add log_data1 buffer

It will be used for log printing where two gids need to be
printed.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
[ssa.c, core.c]: Add parent_gid field to join query

Old parent will be taken into account in distribution tree
building.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Return parent type in response to join request

The parent's node type will be used in SM resiliency feature.
To struct ssa_svc, two new fields are added: primary_type and
secondary_type. At the moment, SSA supports only primary parent
type. secondary_type will be used in future.

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