Witch hunts were primarily a phenomenon of the early modern period, not the middle ages, during which both the political authorities and the Church repeatedly cautioned against blaming e.g poor crops on supposed witches.
Also, I believe about half of witchcraft trials ended in execution - I'm not sure what the comparable rate is for Gitmo (although obviously there are no trials).