LongSafetyBench: Long-Context LLMs Struggle with Safety Issues