Man dies after getting into difficulty while diving in Cork