[mojo-bindings] Fix complex arrays for JS lite

We underestimate the total size of a message carrying arrays with struct
elements. This fixes that.

Bug: 905529
Change-Id: Ib05fa52e42d850c3ebe38bd4f716f7c1327e4cd7
Reviewed-on: https://chromium-review.googlesource.com/c/1336779
Reviewed-by: calamity <calamity@chromium.org>
Commit-Queue: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#608246}
3 files changed