[libvirt PATCH 09/11] virChrdevOpen: Use virLockGuard