Protein kinase R reveals an evolutionary model for defeating viral mimicry