MINOR: Use streaming iterator with decompression buffer when building offset map (#8494)
MINOR: Use streaming iterator with decompression buffer when building offset map (#8494)

This makes it consistent with the `filterTo` methods.
apache/kafka,TiVo/kafka,Chasego/kafka,guozhangwang/kafka,lindong28/kafka,Chasego/kafka,sslavic/kafka,Chasego/kafka,lindong28/kafka,sslavic/kafka,apache/kafka,sslavic/kafka,Chasego/kafka,guozhangwang/kafka,sslavic/kafka,lindong28/kafka,TiVo/kafka,guozhangwang/kafka,TiVo/kafka,guozhangwang/kafka,TiVo/kafka,lindong28/kafka,apache/kafka,apache/kafka