fix-tests
[libc] Make the errno macro resolve to the thread local variable directly.
[libc][Obvious] Fix typo in mkdir and mkdirat implementations.