PCBC-177: inconsistency between the ZEND macros and the impl

Change-Id: I4426d9bd4bf72351a4db7666134fd8e04c5d5c73
Reviewed-on: http://review.couchbase.org/23636
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>