ssa_db_helper.c: fixing db_dataset endianness issues

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