Fix strchr call triggering gcc 4.3 & 4.4 bug
Fix strchr call triggering gcc 4.3 & 4.4 bug

Replacing the strchr call with two variables through a strstr call.
Calling strchr with two variables triggers a gcc 4.3/4.4
bug when used in combination with -Wlogical-op and at least -O1.

agx/libvirt,shugaoye/libvirt,jeckersb/libvirt,libvirt/libvirt,eskultety/libvirt,wiedi/libvirt,foomango/libvirt,emaste/libvirt,usc-isi/libvirt,jardasgit/libvirt,zippy2/libvirt,warewolf/libvirt,olafhering/libvirt,fabianfreyer/libvirt,wiedi/libvirt,agx/libvirt,bjzhang/libvirt,leilihh/libvirt,novel/fbsd-libvirt,elmarco/libvirt,elmarco/libvirt,emaste/libvirt,andreabolognani/libvirt,crobinso/libvirt,libvirt/libvirt,rmarwaha/libvirt,jardasgit/libvirt,warewolf/libvirt,novel/fbsd-libvirt,rlaager/libvirt,rlaager/libvirt,bjzhang/libvirt,warewolf/libvirt,rlaager/libvirt,eskultety/libvirt,rmarwaha/libvirt1,rmarwaha/libvirt,novel/fbsd-libvirt,foomango/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,jeckersb/libvirt,elmarco/libvirt,datto/libvirt,iam-TJ/libvirt,iam-TJ/libvirt,emaste/libvirt,bjzhang/libvirt,warewolf/libvirt,libvirt/libvirt,crobinso/libvirt,leilihh/libvirt,siboulet/libvirt-openvz,danwent/libvirt-ovs,andreabolognani/libvirt,agx/libvirt,taget/libvirt,taget/libvirt,leilihh/libvirt,shugaoye/libvirt,olafhering/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,emaste/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,danwent/libvirt-ovs,taget/libvirt,jardasgit/libvirt,rmarwaha/libvirt,leilihh/libvirt,trainstack/libvirt,trainstack/libvirt,VenkatDatta/libvirt,cbosdo/libvirt,foomango/libvirt,jfehlig/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,rlaager/libvirt,agx/libvirt,iam-TJ/libvirt,danwent/libvirt-ovs,zippy2/libvirt,dumbbell/libvirt,zippy2/libvirt,novel/fbsd-libvirt,rmarwaha/libvirt,taget/libvirt,datto/libvirt,datto/libvirt,warewolf/libvirt,bjzhang/libvirt,emaste/libvirt,dumbbell/libvirt,agx/libvirt,novel/fbsd-libvirt,foomango/libvirt,olafhering/libvirt,dumbbell/libvirt,rmarwaha/libvirt1,nertpinx/libvirt,andreabolognani/libvirt,usc-isi/libvirt,warewolf/libvirt,jeckersb/libvirt,datto/libvirt,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,warewolf/libvirt,novel/fbsd-libvirt,trainstack/libvirt,siboulet/libvirt-openvz,shugaoye/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,jeckersb/libvirt,eskultety/libvirt,wiedi/libvirt,dumbbell/libvirt,rmarwaha/libvirt1,rlaager/libvirt,bjzhang/libvirt,wiedi/libvirt,fabianfreyer/libvirt,siboulet/libvirt-openvz,datto/libvirt,usc-isi/libvirt,taget/libvirt,danwent/libvirt-ovs,cbosdo/libvirt,jeckersb/libvirt,nertpinx/libvirt,rmarwaha/libvirt1,crobinso/libvirt,andreabolognani/libvirt,elmarco/libvirt,cbosdo/libvirt,fabianfreyer/libvirt,trainstack/libvirt,libvirt/libvirt,jardasgit/libvirt,danwent/libvirt-ovs,shugaoye/libvirt,eskultety/libvirt,zippy2/libvirt,shugaoye/libvirt,VenkatDatta/libvirt,emaste/libvirt,eskultety/libvirt,olafhering/libvirt,emaste/libvirt,siboulet/libvirt-openvz,jardasgit/libvirt,jfehlig/libvirt,wiedi/libvirt,fabianfreyer/libvirt,wiedi/libvirt,dumbbell/libvirt,iam-TJ/libvirt,leilihh/libvirt,novel/fbsd-libvirt,elmarco/libvirt,rmarwaha/libvirt,foomango/libvirt,VenkatDatta/libvirt,leilihh/libvirt,rmarwaha/libvirt1,fabianfreyer/libvirt,jfehlig/libvirt,trainstack/libvirt,iam-TJ/libvirt,crobinso/libvirt,rmarwaha/libvirt1,nertpinx/libvirt,jeckersb/libvirt,VenkatDatta/libvirt,usc-isi/libvirt,siboulet/libvirt-openvz,cbosdo/libvirt,usc-isi/libvirt,jfehlig/libvirt,dumbbell/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,wiedi/libvirt,jeckersb/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain