Fixed warnings reported with -Werror=cast-align
Fixed warnings reported with -Werror=cast-align

Change-Id: Icee93be1be3e0faea41d1952ca5ce392499bcde8
Reviewed-on: http://review.couchbase.org/19404
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Tested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>

kojiromike/libcouchbase,maxim-ky/libcouchbase,kojiromike/libcouchbase,mody/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,mnunberg/libcouchbase,signmotion/libcouchbase,uvenum/libcouchbase,trondn/libcouchbase,senthilkumaranb/libcouchbase,couchbase/libcouchbase,mnunberg/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,uvenum/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,mnunberg/libcouchbase,maxim-ky/libcouchbase,mody/libcouchbase,uvenum/libcouchbase,senthilkumaranb/libcouchbase,avsej/libcouchbase,PureSwift/libcouchbase,trondn/libcouchbase,signmotion/libcouchbase,senthilkumaranb/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,PureSwift/libcouchbase,PureSwift/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase,avsej/libcouchbase,trondn/libcouchbase,maxim-ky/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase,couchbase/libcouchbase,senthilkumaranb/libcouchbase,trondn/libcouchbase,avsej/libcouchbase,mody/libcouchbase,PureSwift/libcouchbase,kojiromike/libcouchbase,signmotion/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,trondn/libcouchbase,couchbase/libcouchbase