Fix isGraph and isPrintable

- isGraph was commented out due to isgraph not being available in libc
  this patch implements an alternative isgraph.
- isprint in msp430-libc called by isPrintable was erroneously checking
  if the character was larger than 23. This has to be 31.