alloc0 undeclared in /lib/pure/osproc.nim(919,33)
### Description

Seems like there is a problem in library osproc.nim(919,33)

user1@hoho8:~$ nim c -r pgnim.nim
/home/user1/.choosenim/toolchains/nim-2.2.2/lib/pure/osproc.nim(919, 33) Error: undeclared identifier: 'alloc0'
candidates (edit distance, scope distance); see '--spellSuggest': 
 (3, 4): 'Clock'
 (3, 4): 'F_LOCK'
 (3, 4): 'F_TLOCK'
user1@hoho8:~$ 


### Nim Version

2.2.2
Today I went back to 2.2.0 and it seems to have same problem, although I was compiling ok with 2.2.0  yesterday (Feb 16 at 11:33 Chicago time was ok, then did 'choosenim stable update' or something like that and started having problems).

I don't think my code 'pgnim.nim' is the problem other than it uses osproc:
 (note - pgnim.nim is not yet finished..)

user1@hoho8:~$ cat pgnim.nim
# pgnim.nim
import osproc, strutils
echo "Im here"

var ot, ot2: string = ""
var stat, stat2: int

let nEW="17.2"
let oLD="16.3"

(ot, stat)  = execCmdEx("ls /usr/pgsql-17/bin")
for line in ot.split("\n"):
  let exLine: string = $(line) & " --version 2>&1"
  echo exLine
  (ot2, stat2) = execCmdEx(exLine)
  ot2 = ot2[0..(ot2.len-2)] # remove \n from end
  echo ot2
  echo stat2
  case stat2
  of 0:
    echo "Ok"
    echo "Do next step"
    if ot2.split(" ")[2] == oLD:
      echo "Do last step"
# sudo update-alternatives
    else:
      echo "Already done"
  of 127:
    echo "command not there"
  else:
    echo stat2
user1@hoho8:~$ 


### Current Output

```text
user1@hoho8:~$ nim c -r pgnim.nim
/home/user1/.choosenim/toolchains/nim-2.2.2/lib/pure/osproc.nim(919, 33) Error: undeclared identifier: 'alloc0'
candidates (edit distance, scope distance); see '--spellSuggest': 
 (3, 4): 'Clock'
 (3, 4): 'F_LOCK'
 (3, 4): 'F_TLOCK'
user1@hoho8:~$
```

### Expected Output

```text
Using ./pgnim from yesterday. Since code does not compile today, the executable from yesterday was still there..

user1@hoho8:~$ ./pgnim
Im here
clusterdb --version 2>&1
clusterdb (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
createdb --version 2>&1
createdb (PostgreSQL) 17.3
0
Ok
Do next step
Already done
createuser --version 2>&1
createuser (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
dropdb --version 2>&1
dropdb (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
dropuser --version 2>&1
dropuser (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
ecpg --version 2>&1
/bin/sh: line 1: ecpg: command not found
127
command not there
initdb --version 2>&1
initdb (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_archivecleanup --version 2>&1
/bin/sh: line 1: pg_archivecleanup: command not found
127
command not there
pg_basebackup --version 2>&1
pg_basebackup (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pgbench --version 2>&1
/bin/sh: line 1: pgbench: command not found
127
command not there
pg_checksums --version 2>&1
pg_checksums (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_combinebackup --version 2>&1
pg_combinebackup (PostgreSQL) 17.3
0
Ok
Do next step
Already done
pg_config --version 2>&1
/bin/sh: line 1: pg_config: command not found
127
command not there
pg_controldata --version 2>&1
pg_controldata (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_createsubscriber --version 2>&1
pg_createsubscriber (PostgreSQL) 17.3
0
Ok
Do next step
Already done
pg_ctl --version 2>&1
pg_ctl (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_dump --version 2>&1
pg_dump (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_dumpall --version 2>&1
pg_dumpall (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_isready --version 2>&1
pg_isready (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_receivewal --version 2>&1
pg_receivewal (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_resetwal --version 2>&1
pg_resetwal (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_restore --version 2>&1
pg_restore (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_rewind --version 2>&1
pg_rewind (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_test_fsync --version 2>&1
/bin/sh: line 1: pg_test_fsync: command not found
127
command not there
pg_test_timing --version 2>&1
/bin/sh: line 1: pg_test_timing: command not found
127
command not there
pg_upgrade --version 2>&1
pg_upgrade (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_verifybackup --version 2>&1
pg_verifybackup (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
pg_waldump --version 2>&1
/bin/sh: line 1: pg_waldump: command not found
127
command not there
pg_walsummary --version 2>&1
pg_walsummary (PostgreSQL) 17.3
0
Ok
Do next step
Already done
postgres --version 2>&1
/bin/sh: line 1: postgres: command not found
127
command not there
postgresql-17-check-db-dir --version 2>&1
/bin/sh: line 1: postgresql-17-check-db-dir: command not found
127
command not there
postgresql-17-setup --version 2>&1
PostgreSQL setup script for version 17
0
Ok
Do next step
Already done
psql --version 2>&1
psql (PostgreSQL) 17.3
0
Ok
Do next step
Already done
reindexdb --version 2>&1
reindexdb (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
vacuumdb --version 2>&1
vacuumdb (PostgreSQL) 16.3
0
Ok
Do next step
Do last step
 --version 2>&1
/bin/sh: line 1: --version: command not found
127
command not there
user1@hoho8:~$
```

### Known Workarounds

_No response_

### Additional Information

_No response_