ParallelComp: Parallel Long-Context Compressor for Length Extrapolation