Fix unportable use of isspace().

Introduced in commit 11a020eb6.