Flags are 4 bytes long

According to change 35922 [1] the flags field is 4 bytes long.

[1]: http://review.couchbase.org/35922