Skip empty lines in SAM files

Skipping empty lines in SAM files works around a bug in htslib with
SAM files that are an exact multiple of 64kb in size. The danger in
skipping empty lines is that the power to detect truncated SAM files
is decreased.  But it is convenient to be robust to empty lines, and
it is important not to die on 64kb files.