[libvirt] [PATCH libvirt 5/6] Cast pointer to int using intptr_t