Fix java generation for client in another mojom.

R=ppi@chromium.org

Review URL: https://codereview.chromium.org/760753004