Keep buffers with log cursors until close.  This avoids some cases where NULL buffers were passed to __wt_struct_pack.