MB-7656 Don't use hardcoded value when calculating KV length
MB-7656 Don't use hardcoded value when calculating KV length

Change-Id: If59d6246d575c72f90cfdb7d7cb894c60d8042f9
Reviewed-on: http://review.couchbase.org/29027
Reviewed-by: Volker Mische <fb414f8ac0dbbf87663550ae4ef5fc95b1041941@gmail.com>
Tested-by: Filipe David Borba Manana <e0fcd583df77ec6c08e6d1257619cc1216ddc994@gmail.com>

abhinavdangeti/couchstore,couchbaselabs/couchstore,t3rm1n4l/couchstore,t3rm1n4l/couchstore,couchbaselabs/couchstore,abhinavdangeti/couchstore,jimwwalker/couchstore,t3rm1n4l/couchstore,abhinavdangeti/couchstore,couchbaselabs/couchstore,jimwwalker/couchstore,vmx/couchstore,jimwwalker/couchstore,vmx/couchstore,vmx/couchstore