Enhancing Persona Consistency for LLMs' Role-Playing using Persona-Aware Contrastive Learning