Add MIMA excludes.

Not so sure why the second one is needed at all (and why just
plain "excludeSparkClass" doesn't work either).