Reward Shaping to Mitigate Reward Hacking in RLHF