ByteBuffer: Use |offset| directly.

Calling arrayOffset will throw for buffers that are read only.

This fixes FileChannelTest#testReadOnlyByteArrays and
BufferTest#testPutByteBuffer.

Also contains some pedantic trailing whitespace removal.

Change-Id: Ib6335a1a542d78702721e16ff4b39dc353564301
1 file changed