vrend: refactor syncobject wait to a helper function

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
1 file changed