travis-ci: always reinstall Java on OSX to get recent version

The Travis images have quite old versions of Java currently.
2 jobs for port-to-osx-and-trusty in 38 minutes and 18 seconds
Status Job ID Name Coverage
  Test
passed #33322503
metadata_v0

00:05:39

passed #33322502
test

00:38:18