[libvirt] [RESEND PATCH 2/5] virstring.h/c: Util method for making some find and replace in strings