Fix non Java 8 MaxPermSize configuration

The check for Java 8 was always evaluating to true, so MaxPermSize was never being set on Java 6/7 VMs.