Added OPENCCN_ERRNO_PRINT macro, and used it where applicable.