Add workaround for FLEXIBLE_ARRAY_MEMBER not defined

It was only added in PostgreSQL 9.2.