Check BAM references before genotyping.