Add hadoop-core excludes to fix integration tests.

Excluding in the root pom only works for this project and causes
integration tests to fail with multiple hadoop versions.