ij-legacy: set the dock icon on MacOSX, too

On MacOSX, IJ.getInstance().setIconImage() does not do what one might
expect: to set the icon image. Instead, one has to use the proprietary API
by Apple.

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