[PATCH openEuler-5.10 v2 537/548] net: mscc: ocelot: fix using match before it is set