Alize Cornet given code violation for changing top at US Open