bam: validate the number of intervals
bam: validate the number of intervals

The specification requires that the number intervals in an index file be
an int32, so verify that the number of intervals to read isn't less than
zero.

googlegenomics/htsget