I agree that the 12th amendment doesn't allow states to void the faithless elector's vote, but it would be constitutionally permissible for them to criminalize faithless voting, would it not?
No, according to the court's opinion ("slip opinion"), starting at p.73 of the PDF [0]. I've posted excerpts in a top-level comment.