SERVER-11356 fix DecryptMessage; avoid memory corruption