plugin/core.c: Add ssa_extract_process routine

Move some code from SSA_DB_START_EXTRACT into new routine
to prepare for some upcoming simulation changes.

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