Merge "liblog: always restore errno in logging functions"