[libvirt] [PATCH] Add missing checks for NULL in domain lock manager