Fix possible uninitialized value access due to strerror_r error

When strerror_r function returns error buf variable stays uninitialized. This variable can in turn be passed to strlen inside __reditSetError function, which causes problems. It doesn't happen often, but I've had few cases like that.