Delete work-around for Ant 1.8 in Gradle build

Ant 1.9.2 is packaged with Gradle since release 1.10. Since the Spring
Framework build now uses Gradle 1.11, there is no longer a need for the
"javac1.7" build compiler work-around for the spring-oxm module.
Clean up warnings that show up in Gradle build