groovy: GROOVY_HOME should be pointed at opt_prefix

This will prevent issues when Groovy is next updated.