Take more care clearing WT_CURSTD_VALUE_INT

Now that we use it internally to decide when to make copies of values.  In particular, clear it when leaving LSM operations that don't return a value, and when entering file operations that don't take a value.