[PATCH AUTOSEL 5.4 66/73] net: systemport: fix index check to avoid an array out of bounds access