MB-11239: Retreat revid as integer during restore

Change-Id: I460e7712e6bf1cec2c18c54e9d73565ba93a78b9
Reviewed-on: http://review.couchbase.org/37671
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>