Accelerating Direct Preference Optimization with Prefix Sharing