core.c: In core_extract_handler, add missing check of smdb_dump

before calling ssa_db_save

Pointed out by Ilya

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