[PATCH openEuler-1.0-LTS] net: dsa: fix a crash if ->get_sset_count() fails