Unset JAVA_OPTS for gradlew

This is an attempt to work around Jenkins bug
https://www.jfrog.com/jira/browse/HAP-210
which erroneously passes Jenkins' JAVA_OPTS to the gradle
process, which then causes gradle to fail in weird ways.