MB-10498: fix xdcr pause/resume function

Change-Id: Iad763e5d2405f7e4c55e1bb4f210c7a60d66bd6d
Reviewed-on: http://review.couchbase.org/34654
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>