fop: fix broken JAVA_HOME when using oracle's jdk

fop is only able to use apple's java. With this change it also work with
oracle jdk.