Simplify ByteBufferDataReader/Writer

merge in [MAPREDUCE-6000](https://issues.apache.org/jira/browse/MAPREDUCE-6000)