Add InputStream#ungetc

Works like IO#ungetc