libcore: Add a smattering of POSIX error codes to the libc module.

r? @graydon

I'm not sure which POSIX revision this is, or even admittedly if the constant values are specified at all…

Nevertheless, this will be needed for the new I/O subsystem, which aims to do things right and actually report the errors in an actionable way.