toolchain/build: Fix building with OpenJDK 7

Apply patch to android/build allowing the host machine to use
OpenJDK 7. With Linaro's current branch it still errors out if
'javac -version' returns 1.7.x

Change-Id: Ie8a1725ff6a2af36c545fe6d85cadb656a8a7d83