[Git][wine/wine][master] msvcrt: Set errno in failure path.