bam: use a static byte array to back record read buffering
bam: use a static byte array to back record read buffering

name              old time/op    new time/op    delta
Read-8               4.24s ± 3%     4.18s ± 1%   -1.41%  (p=0.008 n=9+10)
ReadCoreAndSeq-8     3.37s ± 6%     3.15s ± 5%   -6.31%  (p=0.000 n=10+9)
ReadCoreOnly-8       3.32s ± 6%     3.03s ± 0%   -8.62%  (p=0.000 n=10+9)
ReadFile-8           4.19s ± 1%     4.26s ± 3%   +1.59%  (p=0.019 n=9+9)

name              old alloc/op   new alloc/op   delta
Read-8              2.35GB ± 0%    2.03GB ± 0%  -13.53%  (p=0.000 n=10+10)
ReadCoreAndSeq-8    1.05GB ± 0%    0.64GB ± 0%  -39.26%  (p=0.000 n=10+10)
ReadCoreOnly-8       991MB ± 0%     577MB ± 0%  -41.80%  (p=0.000 n=9+10)
ReadFile-8          2.35GB ± 0%    2.04GB ± 0%  -13.53%  (p=0.000 n=10+10)

name              old allocs/op  new allocs/op  delta
Read-8               18.1M ± 0%     18.1M ± 0%   -0.17%  (p=0.000 n=10+10)
ReadCoreAndSeq-8     12.3M ± 0%     10.3M ± 0%  -16.29%  (p=0.000 n=10+9)
ReadCoreOnly-8       10.3M ± 0%      8.3M ± 0%  -19.46%  (p=0.000 n=10+10)
ReadFile-8           18.1M ± 0%     18.1M ± 0%   -0.17%  (p=0.000 n=10+10)

biogo/hts