Refactor functions in postgres/interface module and fix leak.
Refactor functions in postgres/interface module and fix leak.

pgLsnFromWalSegment() leaked two Strings.

Refactor pgLsnRangeToWalSegmentList() to create the StringList in the calling context rather than moving it later.

pgbackrest/pgbackrest,pgbackrest/pgbackrest,pgbackrest/pgbackrest