synced library.js errno codes with sys/errno.h

I realized some of the codes in library.js were out of sync with libc/sys/errno.h (e.g. EADDRINUSE), so I regex'd through errno.h and generated new values for library.js