SERVER-7974 Suppress stack trace on replication errors
Added const modifier to catch in rs_sync.cpp