Don't call ENCODING_GET() for each result value, but only once,
when the ColumnMapping is assigned to a PG::Result.

The speedup is only minimal (~1%).
Array.new is somewhat faster than using an Enumerator.
pg_type_get_and_check() is no longer in use.