Why focus on criminalizing "witchcraft accusation" rather than simply focus on enforcing the already criminal associated activities (e.g., "lynching of people")?
You generally want to prevent a crowd from getting to that point. It's a bit difficult for a handful of police to stop a crowd from lynching as it's happening.