C++ API: remove deprecated throw lists

No match.