Bug #46408: Fix double formatting for PostgreSQL bound parameters

See https://bugs.php.net/bug.php?id=46408 for extensive discussion of this.