games/stendhal: fix build with jdk17+
Just increase the minimal javac source/target.
PR: 291564 Approved-By: maintainer timeout