SegQuant: A Semantics-Aware and Generalizable Quantization Framework for Diffusion Models