Adapt bin/write-headless-jar.bsh to new ij1-patcher

Things are now a bit different. Easier, too.

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