[PATCH 5.8 229/633] coresight: fix offset by one error in counting ports