fixup incorrect use of 'RETURN()'

Change-Id: I29b62d4bda4908b5fbb155bd3f5afcf0556be036
Reviewed-on: http://review.couchbase.org/33293
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>