[libvirt] [PATCHv2] virBitmapParse: Fix behavior in case of error and fix up callers