Add escapes to quotation marks in Java version detection genrule.

Quotation mark character is significant for Win32's CreateProcess.
It should always be properly escaped when occuring inside arguments.

We might devise a common solution in GenRule for that, but for now
this change fixes the only genrule we use that runs into this issue.

Needed for #276.

--
MOS_MIGRATED_REVID=114881441
diff --git a/src/BUILD b/src/BUILD
index 17c8f2e..9723aa8 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -57,7 +57,7 @@
     outs = ["java.version"],
     cmd = """
           VERSION_LINE=$$(cat $< | grep target_version);
-          JAVA_VERSION=$$(echo $${VERSION_LINE} | sed 's/.*value="\\([^"]\\)".*/\\1/');
+          JAVA_VERSION=$$(echo $${VERSION_LINE} | sed 's/.*value=\\"\\([^\\"]\\)\\".*/\\1/');
           if [ -z "$${JAVA_VERSION}" ]; then
             echo "1.8" >$@  # Java 8 is the default
           elif [[ "$${JAVA_VERSION}" =~ ^[0-9]+$$ ]]; then