fix errno handling in scandir:
[musl] / crt / crt1.c