Bump legacy and pom-scijava

The imagej-legacy version we are about to release requires a new
SciJava common version to work correctly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>