Make the build reproducible

It now depends on the release version of legacy-imglib1,
instead of a SNAPSHOT.
POM: add missing imglib2 dependencies

These are used directly, but were inherited transitively.

Discovered using:
    mvn dependency:analyze
POM: add exclusions to make enforcer happy