Rename yield() to the test_server_yield() (backport to 9.18)
This commit ensures that the test_server binary will build on Solaris, which has yield() definition within 'unistd.h'.
Closes #3274 (closed)
Backport of !6122 (merged)
Edited by Artem Boldariev