devel/luajava: pin to openjdk8
Compiliing with jdk21 gives an error in javadoc which is fixed by making the patch-Makefile more generic so all jdk versions use '-Xdoclint:none'.
With the doclint option jdk11 and newer give an error on missing javah executable. I can't quickly fix this, so let's pin the port to openjdk8.
With this patch we can set JAVA_DEFAULT=21 and this port will still use openjdk8 to builld.
PR: 291579
Approved-By: maintainer timeout