plugin/ssa_comparison.c: Eliminate duplicated code handling LFT records

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