[Android] Fix the missing dependency for generating Java runtime version.

The reason is that when doing parallel compilation, the output file of the
previous action might not be generated before the usage of next action.

Fix it by adding a new target for it.

BUG=#713

(cherry picked from commit c1ce452bd6aa2addb1e654c3f35e8b91ab3b21ae)
Merge pull request #770 from rakuco/backport-android-build-problem

Backport: [Android] Fix the missing dependency for generating Java runtime version.