FlipGuard: Defending Preference Alignment against Update Regression with Constrained Optimization