strerror_r: enforce POSIX recommendations