POM: bump to pom-imagej 2.40

This updates to scijava-common 2.29.0, which is necessary for the
improved default behavior of IJ1MacroLanguage#getLanguageName().
IJ1MacroLanguage: remove unneeded override

The getLanguageName method now defaults to the @Plugin name attribute,
so we no longer need to explicitly override it.