fix broken ttyname[_r] (failure to null-terminate result)
[musl] / crt / crt1.c