Fix crash when decompressing SAM/BAM files compressed with -a