Fix Clang/LLVM compiler warning
Below is the warning we got from clang.
ydbposix.c:337:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
This is now fixed by moving the assignment to a separate line.