SERVER-10497 Move OpDebug to a separate parameter and pass UpdateRequest by const ref