[PATCH 5.10 113/252] net: dsa: fix a crash if ->get_sset_count() fails