Bridging Context Gaps: Leveraging Coreference Resolution for Long Contextual Understanding