[PATCH 5.12 142/296] net: dsa: fix a crash if ->get_sset_count() fails