fix javadoc for java8

Fix issue https://github.com/julianhyde/optiq/issues/200.

I think we had the same problem in our project: https://github.com/stratosphere/stratosphere/pull/549 and solved it as described here: http://stackoverflow.com/a/22296107/568695 using Maven build profiles.