libx264: handle closed GOP codec flag