fop: fix broken JAVA_HOME when using oracle's jdk

see https://issues.apache.org/jira/browse/FOP-2356