[SPARK-3425] do not set MaxPermSize for OpenJDK 1.8

you're correct