[libvirt] [PATCH v2 5/5] Prevent more compiler optimization of mockable functions