AVRO-1081. Java: Fix to be able to write ByteBuffers that have no backing array. Also fix reflection to correctly read ByteBuffer fields.