Refactor logrecord parsing to use exitFn type

This just replaces an older convention with the newer one seen in
pg_logplexcollector.go: exitFn variable name => exit, anonymous type
definition => exitFn.

Signed-off-by: Daniel Farina <daniel@fdr.io>