Fix ext/pgsql builds against libpq 7.3.

Fixes bug #67555 (Cannot build against libpq 7.3).
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix ext/pgsql builds against libpq 7.3.