Add basic error checking to MemoryBuffer::getSTDIN.