Improving Generalization of Dynamic Graph Learning via Environment Prompt