[Libvir] use C99 initializer for lastErr