pg_query.c: Fix error state memory leak in const_record_walker.
Release 0.2.2.