java: mojo serialization use little endian.

R=ppi@chromium.org

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