SERVER-8455 Fix buildbot failure caused by accessing uninitialized memory