Always cast argument to isspace() to unsigned char

Some implementations define this as a macro that indexes into a table,
where this would result in a negative index if char is signed.