plugin/ssa_extract.c: move lft_block/top handling to separate methods

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