[PATCH 6.17 137/146] net: dsa: microchip: Free previously initialized ports on init failures