Mitigating Length Bias in RLHF through a Causal Lens