Fix layer creation metadata parceling

There were a couple issues:
- Parcel shares the same position between read/write, so the position
  had to be reset before sending to native
- Java's "native"IO ByteBuffer defaults to big-endian!? instead of
  the native endian.

Bug: 123914715
Test: sf_trace shows metadata. screenshots don't include notch/corners
      anymore

Change-Id: I27bcc54e4e81108554ba5c5009c43195902bbcf1
1 file changed