plugin/ssa_extract.c: moving guid_to_lid_tbl_rec extract to separate function

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