[PATCH 52/62] net: dsa: bcm_sf2: Fix overflow checks