[vioscsi] fix compilation problems
[vioscsi] switch to per-message sync

(cherry picked from commit 2dab37197ecefa0706b232ccda7275ef070424c9)