Maven 3.0.5: Patch to fix JAVA_HOME detection using the libexec helper.

Now that Java support has changed hands and Java 6 has reached EoL,
this should be the preferred way. The patch should be considered for removal
once Maven closes MNG-4226 (http://jira.codehaus.org/browse/MNG-4226).