s4-drepl: Fix replica sync callback to really store last error rather than last success