java/openjdk17: try to fix the flapping build
Build is flapping.
The error that pops up is similar to this, but the filename can change:
nm: 'abstractCompiler.o': Invalid argument
Sometimes the build runs fine and I can't reproduce the failure locally
on a 4-CPU RPI4.
If this stabalizes the build for openjdk17 I will apply it to other
openjdk* ports too.
Mind that openjdk23 and -24 already have this change and don't seem to fail.
Bumped portrevision so I can easily see if future failures use this change
or not.
Reported by: https://portsfallout.com/fallout?port=java%2Fopenjdk17%24
Reviewed by: https://lists.freebsd.org/archives/freebsd-java/2025-September/003296.html