Fix a hang in LSM compact. Refs #1225
Merge pull request #1226 from wiredtiger/lsm-compact-hang

Fix a hang in LSM compact. Refs #1225