[libvirt] [PATCH] remote: Fix locking in stream APIs