SERVER-14449 Fix potential deadlock in processReplSetSyncFrom