devel/spark: Update Enable only for java 8 and 11
Spark with Java 17 has a lot of build crashes on FreeBSD.
While here replace PORTVERSION with DISTVERSION.
PR: 296715
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
MFH: 2026Q3