Dynamic exception specifications are obsolete and g++-11 throws errors when it find them. Upstream has removed them. This commit adds the upstream patch, rebased to apply against the source of the Debian pacakge.