readLine not working in Linux Mint
### Description

Neither readLine() nor readLineFromStdIn() work today in Linux Mint.  I tried both.  Assigning to variables didn't help, either.

readLine test:
```
echo "beginning"
let resp = stdIn.readLine
echo resp
echo "exiting"
```

readLineFromStdIn test:
```
import std/rdstdin
echo "beginning"
echo readLineFromStdin("Is Nim awesome? (Y/n): ")
echo "exiting"
```



### Nim Version

Nim 2.2.0

Operating System: Linux Mint 22                   
          Kernel: Linux 6.8.0-48-generic
    Architecture: x86-64

gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) 


### Current Output

```text
# readLine error report

nim r "readLineTest.nim" (in directory: /home/crf/Nim)
Hint: used config file '/home/crf/.choosenim/toolchains/nim-2.2.0/config/nim.cfg' [Conf]
Hint: used config file '/home/crf/.choosenim/toolchains/nim-2.2.0/config/config.nims' [Conf]
.....................................................................
CC: ../.choosenim/toolchains/nim-2.2.0/lib/system.nim
CC: readLineTest.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
28236 lines; 0.408s; 31.027MiB peakmem; proj: /home/crf/Nim/readLineTest.nim; out: /home/crf/.cache/nim/readLineTest_d/readLineTest_DC3C53A7C166BD37F709101FD7349B2B43D63A00 [SuccessX]
Hint: /home/crf/.cache/nim/readLineTest_d/readLineTest_DC3C53A7C166BD37F709101FD7349B2B43D63A00 [Exec]
beginning
/home/crf/Nim/readLineTest.nim(2) readLineTest
/home/crf/.choosenim/toolchains/nim-2.2.0/lib/std/syncio.nim(506) readLine
/home/crf/.choosenim/toolchains/nim-2.2.0/lib/std/syncio.nim(158) raiseEOF
Error: unhandled exception: EOF reached [EOFError]
Error: execution of an external program failed: '/home/crf/.cache/nim/readLineTest_d/readLineTest_DC3C53A7C166BD37F709101FD7349B2B43D63A00'
Compilation failed.



# readLineFromStdIn error report

nim c -r "readLineTest.nim" (in directory: /home/crf/Nim)
Hint: used config file '/home/crf/.choosenim/toolchains/nim-2.2.0/config/nim.cfg' [Conf]
Hint: used config file '/home/crf/.choosenim/toolchains/nim-2.2.0/config/config.nims' [Conf]
.......................................................................
CC: readLineTest.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
28384 lines; 0.239s; 31.027MiB peakmem; proj: /home/crf/Nim/readLineTest.nim; out: /home/crf/Nim/readLineTest [SuccessX]
Hint: /home/crf/Nim/readLineTest [Exec]
beginning
/home/crf/Nim/readLineTest.nim(3) readLineTest
/home/crf/.choosenim/toolchains/nim-2.2.0/lib/impure/rdstdin.nim(74) readLineFromStdin
Error: unhandled exception: Linenoise returned nil [IOError]
Error: execution of an external program failed: '/home/crf/Nim/readLineTest'
Compilation failed.
```


### Expected Output

```text
beginning
Whatever
Whatever
finished
```


### Known Workarounds

None known at this time.

### Additional Information

Last known good: Nim 2.0