Removed duplicated code from stateful07 Open and LSPA object parsers.

Change-Id: I4bf7428c67a95ba75930e9a2293e8d6ad032f3fc
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>