ssa_db_helper.[h c]: Cosmetic changes

Formatting changes
Reordered some local variables for better alignment

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