bam_pileup.c: Skip unpaired reads or reads with unmapped mates.