MB-9504 Fixed invalid C89 code

Change-Id: Ia4f3b54b5e7cc89aaa65a3c234ba8bf8055c0d07
Reviewed-on: http://review.couchbase.org/30229
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>