Add RG line if missing in input bam/sam header