Fix up old raise syntax.

We had a handful of places left that used the comma syntax for constructing
exceptions. This changes them to use ctor syntax instead.

Testing done: Ran unit tests.