ssa_comparison.c: Improving comparison code

Adding a generic method for comparing quick maps
(the comparison is done by qmap index)

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