Bug fix: `IndexStreamBuffer` prematurely throws data-exhaustion error.
- When fewer than the requested number of bytes are read from a stream, keep reading until the stream is actually exhausted.
Merge pull request #75 from samtools/mm_bugfix_bam_index_input_stream_api_compliance

Bug fix: `IndexStreamBuffer` prematurely throws data-exhaustion error.