Competing pathways control host resistance to virus via tRNA modification and programmed ribosomal frameshifting