fix broken sysconf when correct value is -1
fix broken sysconf when correct value is -1

this caused glib to try to allocate >2gb for getpwnam_r, and probably
numerous other problems.

chardi/musl,chardi/musl,chardi/musl