fix incorrect initial count in shgetc when data is already buffered
[musl] / lib /
drwxr-xr-x   ..
-rw-r--r-- 0 empty