[PATCH net-next 3/8] mlxsw: spectrum_router: Do not query MAX_RIFS on each iteration