Adjust HeadlessGenericDialog for ImageJ 1.48u

Thanks, Jimena Jenkins!

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