shared/ssa_db.c: fixing segfault bug

'for' loop iteration variable was of unsigned type

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