Fix some minor compiler warnings

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