Fix a crash when there is text after a failed %Z conversion in strptime.

jmates at ee dot washington dot edu reported this bug and provided a patch.
This is a slightly modified version of the patch that only contains the
bug fix.

ok millert@, otto@