Don't use goto in the failover log class

Change-Id: Ib045b52886ebfbfda9c627cc8adab7d8df498efc
Reviewed-on: http://review.couchbase.org/32400
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>