When searching for the end of a log file, check the whole 32-bit length for a non-zero value.  It's reasonably likely that the first, low-order byte of the length will be zero, since we pad to 128 bytes by default.
spelling
Merge pull request #1334 from wiredtiger/log-zero-fix

Fix the check for the end of a log file