virbitmaptest: Resolve Coverity errors
virbitmaptest: Resolve Coverity errors

test1: Need to check for bitmap before using as well as free it properly
test2: need to check for bitsString2 before using it.

andreabolognani/libvirt,jardasgit/libvirt,datto/libvirt,cbosdo/libvirt,jardasgit/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,shugaoye/libvirt,taget/libvirt,datto/libvirt,iam-TJ/libvirt,agx/libvirt,libvirt/libvirt,zippy2/libvirt,VenkatDatta/libvirt,trainstack/libvirt,siboulet/libvirt-openvz,shugaoye/libvirt,VenkatDatta/libvirt,zippy2/libvirt,zippy2/libvirt,cbosdo/libvirt,taget/libvirt,VenkatDatta/libvirt,elmarco/libvirt,jfehlig/libvirt,eskultety/libvirt,olafhering/libvirt,trainstack/libvirt,elmarco/libvirt,agx/libvirt,rlaager/libvirt,eskultety/libvirt,jfehlig/libvirt,jardasgit/libvirt,iam-TJ/libvirt,rlaager/libvirt,fabianfreyer/libvirt,libvirt/libvirt,shugaoye/libvirt,libvirt/libvirt,andreabolognani/libvirt,jfehlig/libvirt,rlaager/libvirt,siboulet/libvirt-openvz,iam-TJ/libvirt,trainstack/libvirt,elmarco/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,zippy2/libvirt,andreabolognani/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,shugaoye/libvirt,andreabolognani/libvirt,crobinso/libvirt,iam-TJ/libvirt,fabianfreyer/libvirt,eskultety/libvirt,VenkatDatta/libvirt,libvirt/libvirt,cbosdo/libvirt,datto/libvirt,olafhering/libvirt,trainstack/libvirt,agx/libvirt,cbosdo/libvirt,eskultety/libvirt,rlaager/libvirt,crobinso/libvirt,taget/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,datto/libvirt,siboulet/libvirt-openvz,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,olafhering/libvirt,trainstack/libvirt,elmarco/libvirt,datto/libvirt,taget/libvirt,crobinso/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,siboulet/libvirt-openvz,VenkatDatta/libvirt,nertpinx/libvirt,jardasgit/libvirt,nertpinx/libvirt,iam-TJ/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,cbosdo/libvirt,olafhering/libvirt,iam-TJ/libvirt,nertpinx/libvirt,elmarco/libvirt,agx/libvirt,fabianfreyer/libvirt,iam-TJ/libvirt,nertpinx/libvirt,agx/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,eskultety/libvirt