Don't compute the end offset to pass to insertMeta()

Omitting the offset causes insertMeta() to automatically use the
end offset, so we don't need to compute it in two places. The two
computations were also slightly different.

Change-Id: I55543fdd113a6a986899c093733191df948acb2e
Merge "Don't compute the end offset to pass to insertMeta()"