ssa_comparison.c: Making the ssa_db_diff dump more generic

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal.rosenstock@gmail.com>