GROD: Enhancing Generalization of Transformer with Out-of-Distribution Detection | Synapse